Kubernetes 1.16 is expected to arrive this week, and with it comes a host of new changes that help ease management for users of this container orchestration platform. For users of Kubernetes, and of Red Hat OpenShift, this release signals the arrival of the general availability for Custom Resource Definitions (CRDs).
When building open source software, duties and tasks must be distributed among large numbers of contributors, some of whom may even be in direct competition with one another. While this may sound like a risky, Machiavellian scenario, in practice, there’s far less rivalry. Instead, the whole project becomes a collaborative board game with individual high scores.
Those high scores ebb and flow as teams take charge of features, lead them to completion and exchange leadership roles over the course of the development of the project. We say all that to say this: Kubernetes 1.16 saw a great deal of work and guidance across the ecosystem, as well as from Red Hat and Google (top upstream corporate contributors). All vendors and the community at large can benefit from the updates made in this release, especially with the prime time for CRDs, which are a main extension point for building cloud native applications on Kubernetes.
A focus on APIs
For this release, the overall theme was one of easing the creation and long term management of APIs hosted within Kubernetes, especially via Custom Resource Definitions, which makes it easier for Operator authors to define the resources they’re making available to users in their clusters.
CRDs have been fully supported in Red Hat OpenShift for several releases, but developing OpenShift 4 as an automated platform built on Operators gave us the chance to find the remaining gaps first hand. As we evolved our own Operator APIs, we turned our attention on the functionality missing from CRDs and used those lessons to take CRDs to GA as a solid basis for any API. We’ve focused on allowing API evolution over time with features like pruning and structural schemas, and added them back to the upstream project.
APIs are never perfect and it’s critical to accept that and build in the ability to make changes. To that end the team worked hard with the community to make it possible for CRD authors to express their intent via an enforceable OpenAPI Specification (formerly known as swagger). This lets a cluster self-document how it’s API works for a developer or admin. These self-documenting APIs are able to keep up with the constant changes that can take place behind the scenes, reworking schemas and API structures as software projects evolve over time. It’s a problem similar to that which NoSQL databases tried to solve, but in a different realm: schema-less custom resources turned out to be hard to manage over the lifecycle of a software like OpenShift, without accidentally breaking backward compatibility.
With that in mind, we worked with the community to make schemas in CRDs the default, serving as guide rails for developers. An API schema will grow and evolve over time. Support for multiple versions and conversion between them allow developers to cope with these changes.
Defaulting support is another such feature that helps developers build enterprise grade software on-top of CRDs: they can add default values for new fields, and existing users of their software will see them for new cluster objects and also for existing cluster objects when read from the etcd database. This gives a natural feel of APIs, crucial for OpenShift and also third party products on top of OpenShift.
Red Hat and others have driven the design and the implementation of CRDs in Kubernetes and is proud to see them graduate to GA in Kubernetes 1.16.
Kubernetes 1.16 is expected to be available for download from the CNCF GitHub account this week and you can read more in our technical post on what’s new. This release of Kubernetes is planned to be integrated into a future release of Red Hat OpenShift.
저자 소개
채널별 검색
오토메이션
기술, 팀, 인프라를 위한 IT 자동화 최신 동향
인공지능
고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트
오픈 하이브리드 클라우드
하이브리드 클라우드로 더욱 유연한 미래를 구축하는 방법을 알아보세요
보안
환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보
엣지 컴퓨팅
엣지에서의 운영을 단순화하는 플랫폼 업데이트
인프라
세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보
애플리케이션
복잡한 애플리케이션에 대한 솔루션 더 보기
오리지널 쇼
엔터프라이즈 기술 분야의 제작자와 리더가 전하는 흥미로운 스토리
제품
- Red Hat Enterprise Linux
- Red Hat OpenShift Enterprise
- Red Hat Ansible Automation Platform
- 클라우드 서비스
- 모든 제품 보기
툴
체험, 구매 & 영업
커뮤니케이션
Red Hat 소개
Red Hat은 Linux, 클라우드, 컨테이너, 쿠버네티스 등을 포함한 글로벌 엔터프라이즈 오픈소스 솔루션 공급업체입니다. Red Hat은 코어 데이터센터에서 네트워크 엣지에 이르기까지 다양한 플랫폼과 환경에서 기업의 업무 편의성을 높여 주는 강화된 기능의 솔루션을 제공합니다.