v1.6.3
Documentation & Examples
Known Issues for v1.6.3
-
This release introduced a regression when using subPath.
If the subPath
is a file rather than a directory, Pods may fail to start (#45613).
Do not upgrade to v1.6.3 if your cluster may run Pods with such subPaths.
Downloads for v1.6.3
filename |
sha256 hash |
kubernetes.tar.gz |
0af5914fcea36b3c65c8185f31e94b2839eaed52dfdd666d31dfa14534a7d69c |
kubernetes-src.tar.gz |
0d3cbc716b0d08bf3be779ddd096df965609b5bcb55c8b9ea084c6bb2d6ef1fd |
Client Binaries
Server Binaries
Node Binaries
Changelog since v1.6.2
Other notable changes
- Bump GLBC version to 0.9.3 (#45055, @nicksardo)
- kubeadm: Fix invalid assign statement so it is possible to register the master kubelet with other initial Taints (#45376, @luxas)
- Fix a bug that caused invalid Tolerations to be applied to Pods created by DaemonSets. (#45349, @gmarek)
- Bump cluster autoscaler to v0.5.4, which fixes scale down issues with pods ignoring SIGTERM. (#45483, @mwielgus)
- Fixes and minor cleanups to pod (anti)affinity predicate (#45098, @wojtek-t)
- StatefulSet: Fix to fully preserve restart and termination order when StatefulSet is rapidly scaled up and down. (#45113, @kow3ns)
- Fix some false negatives in detection of meaningful conflicts during strategic merge patch with maps and lists. (#43469, @enisoc)
- cluster-autoscaler: Fix duplicate writing of logs. (#45017, @MaciekPytel)
- Fixes a bug where pods were evicted even after images are successfully deleted. (#44986, @dashpole)
- CRI: respect container's stopping timeout. (#44998, @feiskyer)
- Fix problems with scaling up the cluster when unschedulable pods have some persistent volume claims. (#44860, @mwielgus)
- Exclude nodes labeled as master from LoadBalancer / NodePort; restores documented behaviour. (#44745, @justinsb)
- Fix for scaling down remaining good replicas when a failed Deployment is paused. (#44616, @kargakis)
- kubectl commands run inside a pod using a kubeconfig file now use the namespace specified in the kubeconfig file, instead of using the pod namespace. If no kubeconfig file is used, or the kubeconfig does not specify a namespace, the pod namespace is still used as a fallback. (#44570, @liggitt)
- Restored the ability of kubectl running inside a pod to consume resource files specifying a different namespace than the one the pod is running in. (#44862, @liggitt)
- Fix false positive "meaningful conflict" detection for strategic merge patch with integer values. (#44788, @enisoc)
- Fix insufficient permissions to read/write volumes when mounting them with a subPath. (#43775, @wongma7)
- vSphere cloud provider: Allow specifying fstype in storage class. (#41929, @abrarshivani)
- vSphere cloud provider: Allow specifying VSAN Storage Capabilities during dynamic volume provisioning. (#42974, @BaluDontu)
v1.7.0-alpha.3
Documentation & Examples
Downloads for v1.7.0-alpha.3
filename |
sha256 hash |
kubernetes.tar.gz |
03437cacddd91bb7dc21960c960d673ceb99b53040860638aa1d1fbde6d59fb5 |
kubernetes-src.tar.gz |
190441318abddb44cfcbaec2f1b91d1a76167b91165ce5ae0d1a99c1130a2a36 |
Client Binaries
Server Binaries
Node Binaries
Changelog since v1.7.0-alpha.2
Action Required
Other notable changes
- kubeadm: Fix invalid assign statement so it is possible to register the master kubelet with other initial Taints (#45376, @luxas)
- Use Docker API Version instead of docker version (#44068, @mkumatag)
- bump(golang.org/x/oauth2): a6bd8cefa1811bd24b86f8902872e4e8225f74c4 (#45056, @ericchiang)
- apimachinery: make explicit that meta.KindToResource is only a guess (#45272, @sttts)
- Remove PodSandboxStatus.Linux.Namespaces.Network from CRI. (#45166, @feiskyer)
- Fixed misspelled http URL in the cluster-dns example (#45246, @psiwczak)
- separate discovery from the apiserver (#43003, @deads2k)
- Remove the
--secret-name
flag from kubefed join
, instead generating the secret name arbitrarily. (#42513, @perotinus)
- Added InterPodAffinity unit test case with Namespace. (#45152, @k82cn)
- Use munged semantic version for side-loaded docker tag (#44981, @ixdy)
- Increase Dashboard's memory requests and limits (#44712, @maciaszczykm)
- PodSpec's
HostAliases
now write entries into the Kubernetes-managed hosts file. (#45148, @rickypai)
- Create and push a docker image for the cloud-controller-manager (#45154, @luxas)
- Align Extender's validation with prioritizers. (#45091, @k82cn)
- Retry calls we report config changes quickly. (#44959, @ktsakalozos)
- A new field
hostAliases
has been added to pod.spec
to support adding entries to a Pod's /etc/hosts file. (#44641, @rickypai)
- Added CIFS PV support for Juju Charms (#45117, @chuckbutler)
- Some container runtimes share a process (PID) namespace for all containers in a pod. This will become the default for Docker in a future release of Kubernetes. You can preview this functionality if running with the CRI and Docker 1.13.1 by enabling the --experimental-docker-enable-shared-pid kubelet flag. (#41583, @verb)
- add APIService conditions (#43301, @deads2k)
- Log warning when invalid dir passed to kubectl proxy --www (#44952, @CaoShuFeng)
- Roll up volume error messages in the kubelet sync loop. (#44938, @jayunit100)
- Introduces the ability to extend kubectl by adding third-party plugins. Developer preview, please refer to the documentation for instructions about how to use it. (#37499, @fabianofranz)
- Fixes juju kubernetes master: 1. Get certs from a dead leader. 2. Append tokens. (#43620, @ktsakalozos)
- Use correct option name in the kubernetes-worker layer registry action (#44921, @jacekn)
- Start recording cloud provider metrics for AWS (#43477, @gnufied)
- Bump GLBC version to 0.9.3 (#45055, @nicksardo)
- Add metrics to all major gce operations {latency, errors} (#44510, @bowei)
-
The new metrics are:
-
cloudprovider_gce_api_request_duration_seconds{request, region, zone}
-
cloudprovider_gce_api_request_errors{request, region, zone}
-
request
is the specific function that is used.
-
region
is the target region (Will be "<n/a>" if not applicable)
-
zone
is the target zone (Will be "<n/a>" if not applicable)
-
Note: this fixes some issues with the previous implementation of
-
metrics for disks:
-
- Time duration tracked was of the initial API call, not the entire
-
operation.
-
- Metrics label tuple would have resulted in many independent
-
histograms stored, one for each disk. (Did not aggregate well).
- Update kubernetes-e2e charm to use snaps (#45044, @Cynerva)
- Log the error (if any) in e2e metrics gathering step (#45039, @shyamjvs)
- The proxy subresource APIs for nodes, services, and pods now support the HTTP PATCH method. (#44929, @liggitt)
- cluster-autoscaler: Fix duplicate writing of logs. (#45017, @MaciekPytel)
- CRI: Fix StopContainer timeout (#44970, @Random-Liu)
- Fixes a bug where pods were evicted even after images are successfully deleted. (#44986, @dashpole)
- Fix some false negatives in detection of meaningful conflicts during strategic merge patch with maps and lists. (#43469, @enisoc)
- kubernetes-master juju charm properly detects etcd-scale events and reconfigures appropriately. (#44967, @chuckbutler)
- Add redirect support to SpdyRoundTripper (#44451, @ncdc)
- Support running Ubuntu image on GCE node (#44744, @yguo0905)
- Send dns details only after cdk-addons are configured (#44945, @ktsakalozos)
- Added support to the pause action in the kubernetes-worker charm for new flag --delete-local-data (#44931, @chuckbutler)
- Upgrade go version to v1.8 (#41636, @luxas)
- Add namespace-{list, create, delete} actions to the kubernetes-master layer (#44277, @jacekn)
- Fix problems with scaling up the cluster when unschedulable pods have some persistent volume claims. (#44860, @mwielgus)
- Feature/hpa upscale downscale delay configurable (#42101, @Dmitry1987)
- Add short name "netpol" for networkpolicies (#42241, @xiangpengzhao)
- Restored the ability of kubectl running inside a pod to consume resource files specifying a different namespace than the one the pod is running in. (#44862, @liggitt)
- e2e: handle nil ReplicaSet in checkDeploymentRevision (#44859, @sttts)
- Fix false positive "meaningful conflict" detection for strategic merge patch with integer values. (#44788, @enisoc)
- Documented NodePort networking for CDK. (#44863, @chuckbutler)
- Deployments and DaemonSets are now considered complete once all of the new pods are up and running - affects
kubectl rollout status
(and ProgressDeadlineSeconds for Deployments) (#44672, @kargakis)
- Exclude nodes labeled as master from LoadBalancer / NodePort; restores documented behaviour. (#44745, @justinsb)
- Fixes issue during LB creation where ports where incorrectly assigned to a floating IP (#44387, @jamiehannaford)
- Remove redis-proxy.yaml sample, as the image is nowhere to be found. (#44801, @klausenbusk)
- Resolves juju vsphere hostname bug showing only a single node in a scaled node-pool. (#44780, @chuckbutler)
- kubectl commands run inside a pod using a kubeconfig file now use the namespace specified in the kubeconfig file, instead of using the pod namespace. If no kubeconfig file is used, or the kubeconfig does not specify a namespace, the pod namespace is still used as a fallback. (#44570, @liggitt)
- This adds support for CNI ConfigLists, which permit plugin chaining. (#42202, @squeed)
- API requests using impersonation now include the
system:authenticated
group in the impersonated user automatically. (#44076, @liggitt)
- Print conditions of RC/RS in 'kubectl describe' command. (#44710, @xiangpengzhao)
NONE
(#44487, @resouer)
- cinder: Add support for the KVM virtio-scsi driver (#41498, @mikebryant)
- Disallows installation of upstream docker from PPA in the Juju kubernetes-worker charm. (#44681, @wwwtyro)
- Fluentd manifest pod is no longer created on non-registered master when creating clusters using kube-up.sh. (#44721, @piosz)
- Job controller now respects ControllerRef to avoid fighting over Pods. (#42176, @enisoc)
- CronJob controller now respects ControllerRef to avoid fighting with other controllers. (#42177, @enisoc)
- The hyperkube image has been slimmed down and no longer includes addon manifests and other various scripts. These were introduced for the now removed docker-multinode setup system. (#44555, @luxas)
- Refactoring reorganize taints function in kubectl to expose operations (#43171, @ravisantoshgudimetla)
- The Kubernetes API server now exits if it encounters a networking failure (e.g. the networking interface hosting its address goes away) to allow a process manager (systemd/kubelet/etc) to react to the problem. Previously the server would log the failure and try again to bind to its configured address:port. (#42272, @marun)
- Fixes a bug in the kubernetes-worker Juju charm code that attempted to give kube-proxy more than one api endpoint. (#44677, @wwwtyro)
- Fixes a missing comma in a list of strings. (#44678, @wwwtyro)
- Fix ceph-secret type to kubernetes.io/rbd in kubernetes-master charm (#44635, @Cynerva)
v1.5.7
Documentation & Examples
Downloads for v1.5.7
filename |
sha256 hash |
kubernetes.tar.gz |
36bc0bcdce4060546f3fef7186f1207d30d5fd340e72113ff592966bd6684827 |
kubernetes-src.tar.gz |
b329b02e9542049b9b85f8083a466e51799691bcf06fdf172b9c0f1cb61bdb6d |
Client Binaries
Server Binaries
Node Binaries
Changelog since v1.5.6
Other notable changes
v1.4.12
Documentation & Examples
Downloads for v1.4.12
filename |
sha256 hash |
kubernetes.tar.gz |
f0d7ca7e1c92174c900d49087347d043b817eb589803eacc7727a84df9280ed2 |
kubernetes-src.tar.gz |
251835f258d79f186d8c715b18f2ccb93312270b35c22434b4ff27bc1de50eda |
Client Binaries
Server Binaries
Node Binaries
Changelog since v1.4.9
Other notable changes
- kube-apiserver now drops unneeded path information if an older version of Windows kubectl sends it. (#44586, @mml)
- Bump gcr.io/google_containers/glbc from 0.8.0 to 0.9.2. Release notes: 0.9.0, 0.9.1, 0.9.2 (#43098, @timstclair)
- Patch CVE-2016-8859 in alpine based images: (#42937, @timstclair)
-
- gcr.io/google-containers/etcd-empty-dir-cleanup
-
- gcr.io/google-containers/kube-dnsmasq-amd64
- Check if pathExists before performing Unmount (#39311, @rkouj)
- NONE (#39768, @rkouj)
- Unmount operation should not fail if volume is already unmounted (#38547, @rkouj)
- Updates base image used for
kube-addon-manager
to latest python:2.7-slim
and embedded kubectl
to v1.3.10
. No functionality changes expected. (#42842, @ixdy)
- list-resources: don't fail if the grep fails to match any resources (#41933, @ixdy)
- Update gcr.io/google-containers/rescheduler to v0.2.2, which uses busybox as a base image instead of ubuntu. (#41911, @ixdy)
- Backporting TPR fix to 1.4 (#42380, @foxish)
- Fix AWS device allocator to only use valid device names (#41455, @gnufied)
- Reverts to looking up the current VM in vSphere using the machine's UUID, either obtained via sysfs or via the
vm-uuid
parameter in the cloud configuration file. (#40892, @robdaemon)
- We change the default attach_detach_controller sync period to 1 minute to reduce the query frequency through cloud provider to check whether volumes are attached or not. (#41363, @jingxu97)
- Bump GCI to gci-stable-56-9000-84-2: Fixed google-accounts-daemon breaks on GCI when network is unavailable. Fixed iptables-restore performance regression. (#41831, @freehan)
- Update fluentd-gcp addon to 1.25.2 (#41863, @ixdy)
- Bump GCE ContainerVM to container-vm-v20170214 to address CVE-2016-9962. (#41449, @zmerlynn)
v1.7.0-alpha.2
Documentation & Examples
Downloads for v1.7.0-alpha.2
filename |
sha256 hash |
kubernetes.tar.gz |
d60465c07b8aa4b5bc8e3de98769d72d22985489e5cdfd1a3165e36c755d6c3b |
kubernetes-src.tar.gz |
b0b388571225e37a5b9bca6624a92e69273af907cdb300a6d0ac6a0d0d364bd4 |
Client Binaries
Server Binaries
Changelog since v1.7.0-alpha.1
Action Required
kubectl create rolebinding
and kubectl create clusterrolebinding
no longer allow specifying multiple subjects as comma-separated arguments. Use repeated --user
, --group
, or --serviceaccount
arguments to specify multiple subjects. (#43903, @xilabao)
Other notable changes
- Add support for Azure internal load balancer (#43510, @karataliu)
- Improved output on 'kubectl get' and 'kubectl describe' for generic objects. (#44222, @fabianofranz)
- Add Kubernetes 1.6 support to Juju charms (#44500, @Cynerva)
- Add metric collection to charms for autoscaling
- Update kubernetes-e2e charm to fail when test suite fails
- Update Juju charms to use snaps
- Add registry action to the kubernetes-worker charm
- Add support for kube-proxy cluster-cidr option to kubernetes-worker charm
- Fix kubernetes-master charm starting services before TLS certs are saved
- Fix kubernetes-worker charm failures in LXD
- Fix stop hook failure on kubernetes-worker charm
- Fix handling of juju kubernetes-worker.restart-needed state
- Fix nagios checks in charms
- Users can now specify listen and advertise URLs for etcd in a kubeadm cluster (#42246, @jamiehannaford)
- Fixed
kubectl cluster-info dump
to support multi-container pod. (#44088, @xingzhou)
- Prints out status updates when running
kubefed init
(#41849, @perotinus)
- CRI: Fix kubelet failing to start when using rkt. (#44569, @yujuhong)
- Remove deprecatedPublicIPs field (#44519, @thockin)
- Remove deprecated ubuntu kube-up deployment. (#44344, @mikedanese)
- Use OS-specific libs when computing client User-Agent in kubectl, etc. (#44423, @monopole)
- kube-apiserver now drops unneeded path information if an older version of Windows kubectl sends it. (#44421, @mml)
- Extending the gc admission plugin so that a user who doesn't have delete permission of the owner cannot modify blockOwnerDeletion field of existing ownerReferences, or add new ownerReference with blockOwnerDeletion=true (#43876, @caesarxuchao)
- kube-apiserver: --service-account-lookup now defaults to true, requiring the Secret API object containing the token to exist in order for a service account token to be valid. This enables service account tokens to be revoked by deleting the Secret object containing the token. (#44071, @liggitt)
- CRI:
kubectl logs -f
now stops following when container stops, as it did pre-CRI. (#44406, @Random-Liu)
- Add completion support for --namespace and --cluster to kubectl (#44251, @superbrothers)
- dnsprovider: avoid panic if route53 fields are nil (#44380, @justinsb)
- In 'kubectl describe', find controllers with ControllerRef, instead of showing the original creator. (#42849, @janetkuo)
- Heat cluster operations now support environments that have multiple Swift URLs (#41561, @jamiehannaford)
- Adds support for allocation of pod IPs via IP aliases. (#42147, @bowei)
- alpha volume provisioning is removed and default storage class should be used instead. (#44090, @NickrenREN)
- validateClusterInfo: use clientcmdapi.NewCluster() (#44221, @ncdc)
- Fix corner-case with OnlyLocal Service healthchecks. (#44313, @thockin)
- Adds annotations to all Federation objects created by kubefed. (#42683, @perotinus)
- [Federation][Kubefed] Bug fix to enable disabling federation controllers through override args (#44209, @irfanurrehman)
- [Federation] Remove deprecated federation-apiserver-kubeconfig secret (#44287, @shashidharatd)
- Scheduler can recieve its policy configuration from a ConfigMap (#43892, @bsalamat)
- AWS cloud provider: fix support running the master with a different AWS account or even on a different cloud provider than the nodes. (#44235, @mrIncompetent)
- add rancher credential provider (#40160, @wlan0)
- Support generating Open API extensions for strategic merge patch tags in go struct tags (#44121, @mbohlool)
- Use go1.8.1 for arm and ppc64le (#44216, @mkumatag)
- Aggregated used ports at the NodeInfo level for
PodFitsHostPorts
predicate. (#42524, @k82cn)
- Catch error when failed to make directory in NFS volume plugin (#38801, @nak3)
- Support iSCSI CHAP authentication (#43396, @rootfs)
- Support context completion for kubectl config use-context (#42336, @superbrothers)
- print warning when delete current context (#42538, @adohe)
- Add node e2e tests for hostPid (#44119, @feiskyer)
- kubeadm: Make
kubeadm reset
tolerant of a disabled docker service. (#43951, @luxas)
- kubelet: make dockershim.sock configurable (#43914, @ncdc)
- Fix broken service accounts when using dedicated service account key. (#44169, @mikedanese)
- Fix incorrect conflict errors applying strategic merge patches to resources. (#43871, @liggitt)
- Fix transition between NotReady and Unreachable taints. (#44042, @gmarek)
- leader election lock based on scheduler name (#42961, @wanghaoran1988)
- [Federation] Remove FEDERATIONS_DOMAIN_MAP references (#43137, @shashidharatd)
- Fix for federation failing to propagate cascading deletion. (#44108, @csbell)
- Fix bug with service nodeports that have no backends not being rejected, when they should be. This is not a regression vs v1.5 - it's a fix that didn't quite fix hard enough. (#43972, @thockin)
- Fix for failure to delete federation controllers with finalizers. (#44084, @nikhiljindal)
- Fix container hostPid settings. (#44097, @feiskyer)
- Fixed an issue mounting the wrong secret into pods as a service account token. (#44102, @ncdc)
v1.6.2
Documentation & Examples
Downloads for v1.6.2
filename |
sha256 hash |
kubernetes.tar.gz |
240f66a98bf75246b53ef7c1fa3a2be36a92cbc173bc8626e7bc4427bef9ce6a |
kubernetes-src.tar.gz |
dbf19a8f2e50b3e691eeba0c418fe057f1ea8527b8c0194ba9749c12c801b24b |
Client Binaries
Server Binaries
Changelog since v1.6.1
Other notable changes
- Fix for Windows kubectl sending full path to binary in User Agent. (#44622, @monopole)
- kube-apiserver now drops unneeded path information if an older version of Windows kubectl sends it. (#44421, @mml)
- CRI: Fix kubelet failing to start when using rkt. (#44569, @yujuhong)
- CRI:
kubectl logs -f
now stops following when container stops, as it did pre-CRI. (#44406, @Random-Liu)
- Azure cloudprovider: Reduce the polling delay for all azure clients to 5 seconds. This should speed up some operations at the cost of some additional quota. (#43699, @colemickens)
- kubeadm: clean up exited containers and network checkpoints (#43836, @yujuhong)
- Fix corner-case with OnlyLocal Service healthchecks. (#44313, @thockin)
- Fix for disabling federation controllers through override args. (#44341, @irfanurrehman)
- Fix for federation failing to propagate cascading deletion. (#44108, @csbell)
- Fix for failure to delete federation controllers with finalizers. (#44084, @nikhiljindal)
- Fix transition between NotReady and Unreachable taints. (#44042, @gmarek)
- AWS cloud provider: fix support running the master with a different AWS account or even on a different cloud provider than the nodes. (#44235, @mrIncompetent)
- kubeadm: Make
kubeadm reset
tolerant of a disabled docker service. (#43951, @luxas)
- Fix broken service accounts when using dedicated service account key. (#44169, @mikedanese)
- Fix for kube-proxy healthcheck handling an update that simultaneously removes one port and adds another. (#44246, @thockin)
- Fix container hostPid settings when CRI is enabled. (#44116, @feiskyer)
- RBAC role and rolebinding auto-reconciliation is now performed only when the RBAC authorization mode is enabled. (#43813, @liggitt)
- Fix incorrect conflict errors applying strategic merge patches to resources. (#43871, @liggitt)
- Fixed an issue mounting the wrong secret into pods as a service account token. (#44102, @ncdc)
- AWS cloud provider: allow to set KubernetesClusterID or KubernetesClusterTag in combination with VPC. (#42512, @scheeles)
- kubeadm: Remove hard-coded default version when fetching stable version from the web fails. Fixes kubeadm 1.6.1 deploying 1.6.0 control plane. (#43999, @mikedanese)
- Fixed recognition of default storage class in DefaultStorageClass admission plugin. (#43945, @mikkeloscar)
- Fix Kubelet panic when Docker is not running. (#44047, @yujuhong)
- Fix vSphere volumes in SELinux environment. (#42973, @gnufied)
- Fix bug with error "Volume has no class annotation" when deleting a PersistentVolume. (#43982, @jsafrane)
v1.7.0-alpha.1
Documentation & Examples
Downloads for v1.7.0-alpha.1
filename |
sha256 hash |
kubernetes.tar.gz |
a8430f678ae5abb16909183bb6472d49084b26c2990854dac73f55be69941435 |
kubernetes-src.tar.gz |
09792d0b31c3c0f085f54a62c0d151029026cee3c57ac8c3456751ef2243967f |
Client Binaries
Server Binaries
Changelog since v1.6.0
Other notable changes
- Juju: Enable GPU mode if GPU hardware detected (#43467, @tvansteenburgh)
- Check the error before parsing the apiversion (#44047, @yujuhong)
- get-kube-local.sh checks pods with option "--namespace=kube-system" (#42518, @mtanino)
- Using http2 in kubeapi-load-balancer to fix kubectl exec uses (#43625, @mbruzek)
- Support status.hostIP in downward API (#42717, @andrewsykim)
- AWS cloud provider: allow to set KubernetesClusterID or KubernetesClusterTag in combination with VPC. (#42512, @scheeles)
- changed kubelet default image-gc-high-threshold to 85% to resolve a conflict with default settings in docker that prevented image garbage collection from resolving low disk space situations when using devicemapper storage. (#40432, @sjenning)
- When creating a container using envFrom, (#42083, @fraenkel)
-
- validate the name of the ConfigMap in a ConfigMapRef
-
- validate the name of the Secret in a SecretRef
- RBAC role and rolebinding auto-reconciliation is now performed only when the RBAC authorization mode is enabled. (#43813, @liggitt)
- Permission to use a PodSecurityPolicy can now be granted within a single namespace by allowing the
use
verb on the podsecuritypolicies
resource within the namespace. (#42360, @liggitt)
- Enable audit log in local cluster (#42379, @xilabao)
- Fix a deadlock in kubeadm master initialization. (#43835, @mikedanese)
- Implement API usage metrics for gce storage (#40338, @gnufied)
- kubeadm: clean up exited containers and network checkpoints (#43836, @yujuhong)
- ActiveDeadlineSeconds is validated in workload controllers now, make sure it's not set anywhere (it shouldn't be set by default and having it set means your controller will restart the Pods at some point) (#38741, @sandflee)
- azure: all clients poll duration is now 5 seconds (#43699, @colemickens)
- addressing issue #39427 adding a flag --output to 'kubectl version' (#39858, @alejandroEsc)
- Support secure etcd cluster for centos provider. (#42994, @Shawyeok)
- Use Cluster Autoscaler 0.5.1, which fixes an issue in Cluster Autoscaler 0.5 where the cluster may be scaled up unnecessarily. Also the status of Cluster Autoscaler is now exposed in kube-system/cluster-autoscaler-status config map. (#43745, @mwielgus)
- Use ProviderID to address nodes in the cloudprovider (#42604, @wlan0)
- Openstack cinder v1/v2/auto API support (#40423, @mkutsevol)
- API resource discovery now includes the
singularName
used to refer to the resource. (#43312, @deads2k)
- Add the ability to lock on ConfigMaps to support HA for self hosted components (#42666, @timothysc)
- OpenStack clusters can now specify whether worker nodes are assigned a floating IP (#42638, @jamiehannaford)
- Add Host field to TCPSocketAction (#42902, @louyihua)
- Support StorageClass in Azure file volume (#42170, @rootfs)
- Be able to specify the timeout to wait for pod for kubectl logs/attach (#41813, @shiywang)
- Add support for bring-your-own ip address for Services on Azure (#42034, @brendandburns)
-
- create configmap has a new option --from-env-file that populates a configmap from file which follows a key=val format for each line. (#38882, @fraenkel)
-
- create secret has a new option --from-env-file that populates a configmap from file which follows a key=val format for each line.
- update the signing key for percona debian and ubuntu packages (#41186, @dixudx)
- release-note-none (#41139, @juanvallejo)
- fc: Drop multipath.conf snippet (#36698, @fabiand)
v1.6.1
Documentation & Examples
Downloads for v1.6.1
filename |
sha256 hash |
kubernetes.tar.gz |
f1634e22ee3fe8af5c355c3f53d1b93f946490addfab029e19acf5317c51cd38 |
kubernetes-src.tar.gz |
b818f29661dd34db77d1e46c6ba98df6d35906dbc36ac1fdfe45f770b0f695c1 |
Client Binaries
Server Binaries
Changelog since v1.6.0
Other notable changes
- Fix a deadlock in kubeadm master initialization. (#43835, @mikedanese)
- Use Cluster Autoscaler 0.5.1, which fixes an issue in Cluster Autoscaler 0.5 where the cluster may be scaled up unnecessarily. Also the status of Cluster Autoscaler is now exposed in kube-system/cluster-autoscaler-status config map. (#43745, @mwielgus)
v1.6.0
Documentation & Examples
Downloads for v1.6.0
filename |
sha256 hash |
kubernetes.tar.gz |
e89318b88ea340e68c427d0aad701e544ce2291195dc1d5901222e7bae48f03b |
kubernetes-src.tar.gz |
0b03d27e1c7af3be5d94ecd5f679e5f55588d801376cf1ae170d9ec0a229b1e2 |
Client Binaries
Server Binaries
WARNING: etcd backup strongly recommended
Before updating to 1.6, you are strongly recommended to back up your etcd data.
Please consult the installation procedure you are using (kargo, kops, kube-up,
kube-aws, kubeadm etc) for specific advice.
1.6 encourages etcd3, and switching from etcd2 to etcd3 involves a full
migration of data between different storage engines. You must stop the API
from writing to etcd during an etcd2 -> etcd3 migration. HA installations cannot
be migrated at the current time using the official Kubernetes procedure.
1.6 will also default to protobuf encoding if using etcd3. This change is
irreversible. To rollback, you must restore from a backup made before the
protobuf/etcd3 switch, and any changes since the backup will be lost. As 1.5
does not support protobuf encoding, if you roll back to 1.5 after upgrading to
protobuf you will be forced to restore from backup, and you will lose any changes
since you converted to protobuf. After conversion to protobuf, you should
validate the correct operation of your cluster thoroughly before returning it
to normal operation.
Backups are always a good precaution, particularly around upgrades, but this
upgrade has multiple known issues where the only remedy is to restore from
backup.
Also, please note:
-
using application/vnd.kubernetes.protobuf
as the media storage type for 1.6 is default but not required
-
the ability to rollback to etcd2 can be preserved by setting the storage media type flag on kube-apiserver
--storage-media-type application/json
to continue to use application/json
as the storage media type which can be changed to
application/vnd.kubernetes.protobuf
at a later time.
Major updates and release themes
- Kubernetes now supports up to 5,000 nodes via etcd v3, which is enabled by default.
- Role-based access control (RBAC) has graduated to beta, and defines secure default roles for control plane, node, and controller components.
- The
kubeadm
cluster bootstrap tool has graduated to beta. Some highlights:
- WARNING: A known issue
in v1.6.0 causes
kubeadm init
to hang. Please use v1.6.1, which fixes the issue.
- All communication is now over TLS
- Authorization plugins can be installed by kubeadm, including the new default of RBAC
- The bootstrap token system now allows token management and expiration
- The
kubefed
federation bootstrap tool has also graduated to beta.
- Interaction with container runtimes is now through the CRI interface, enabling easier integration of runtimes with the kubelet. Docker remains the default runtime via Docker-CRI (which moves to beta).
- WARNING: A known issue
in v1.6.0 causes
Pod.Spec.HostPid
(using the host PID namespace for the pod) to always
be false. Please wait for v1.6.2, which will include a fix for this issue.
- Various scheduling features have graduated to beta:
- You can now specify (per pod) how long a pod should stay bound to a node, when there is a node problem.
- Various storage features have graduated to GA:
- DaemonSets can now be updated by a rolling update.
Action Required
Certificates API
- Users of the alpha certificates API should delete v1alpha1 CSRs from the API before upgrading and recreate them as v1beta1 CSR after upgrading. (#39772, @mikedanese)
Cluster Autoscaler
- If you are using (or planning to use) Cluster Autoscaler please wait for Kubernetes 1.6.1. In 1.6.0 Cluster Autoscaler
may occasionally increase the size of the cluster a bit more than it is actually needed, when there are
unschedulable pods, scale up is required and cloud provider is slow to set up networking for new nodes.
Anyway, the cluster should get back to the proper size after 10 min.
Deployment
Federation
- The --dns-provider argument of 'kubefed init' is now mandatory and does not default to
google-clouddns
. To initialize a Federation control plane with Google Cloud DNS, use the following invocation: 'kubefed init --dns-provider=google-clouddns' (#42092, @marun)
- Cluster federation servers have changed the location in etcd where federated services are stored, so existing federated services must be deleted and recreated. Before upgrading, export all federated services from the federation server and delete the services. After upgrading the cluster, recreate the federated services from the exported data. (#37770, @enj)
Internal Storage Layer
- upgrade to etcd3 prior to upgrading to 1.6 OR explicitly specify
--storage-backend=etcd2 --storage-media-type=application/json
when starting the apiserver
Node Components
- Kubelet with the Docker-CRI implementation
- The Docker-CRI implementation is enabled by default.
- It is not compatible with containers created by older Kubelets. It is
recommended to drain your node before upgrade. If you choose to perform
an in-place upgrade, the Kubelet will automatically restart all
Kubernetes-managed containers on the node.
- It is not compatible with CNI plugins that do not conform to the
error handling behavior in the spec.
The plugins are being updated to resolve this issue (#43488).
You can disable CRI explicitly (
--enable-cri=false
) as a
temporary workaround.
- The standard
bridge
plugin have been validated to interoperate with
the new CRI + CNI code path.
- If you are using plugins other than
bridge
, make sure you have
updated custom plugins to the latest version that is compatible.
- CNI plugins now affect node readiness
- Kubelet will now block node readiness until a CNI configuration file is
present in
/etc/cni/net.d
or a given custom CNI configuration path.
This change ensures
kubelet does not start pods that require networking before
networking is ready.
This change may require changes to clients that gate pod creation and/or
scheduling on the node condition type
Ready
status
being True
for pods
that need to run prior to the network being ready.
- Enhance Kubelet QoS:
- Pods are placed under a new cgroup hierarchy by default. This feature requires
draining and restarting the node as part of upgrades. To opt-out set
--cgroups-per-qos=false
.
- If
kube-reserved
and/or system-reserved
are specified, node allocatable
will be enforced on all pods by default. To opt-out set
--enforce-node-allocatable=””
- Hard Eviction Thresholds will be subtracted from Capacity while calculating
Node Allocatable. This will result in a reduction of schedulable capacity in
clusters post upgrade where kubelet hard eviction has been turned on for
memory. To opt-out set
--experimental-allocatable-ignore-eviction=true
.
- More details on these feature here:
https://kubernetes.io/docs/concepts/cluster-administration/node-allocatable/
- Drop the support for docker 1.9.x. Docker versions 1.10.3, 1.11.2, 1.12.6
have been validated.
- The following deprecated kubelet flags are removed:
--config
, --auth-path
,
--resource-container
, --system-container
, --reconcile-cidr
- Remove the temporary fix for pre-1.0 mirror pods. Upgrade directly from
pre-1.0 to 1.6 kubelet is not supported.
- Fluentd was migrated to Daemon Set, which targets nodes with
beta.kubernetes.io/fluentd-ds-ready=true label. If you use fluentd in your
cluster please make sure that the nodes with version 1.6+ contains this
label.
kubectl
- Running
kubectl taint
(alpha in 1.5) against a 1.6 server requires upgrading kubectl to version 1.6
- Running
kubectl taint
(alpha in 1.5) against a 1.5 server requires a kubectl version of 1.5
- Running
kubectl create secret
no longer accepts passing multiple values to a single --from-literal flag using comma separation
- Update command invocations to pass separate --from-literal flags for each value
RBAC
- Default ClusterRole and ClusterRoleBinding objects are automatically updated at server start to add missing permissions and subjects (extra permissions and subjects are left in place). To prevent autoupdating a particular role or rolebinding, annotate it with
rbac.authorization.kubernetes.io/autoupdate=false
. (#41155, @liggitt)
v1beta1
RoleBinding/ClusterRoleBinding subjects changed apiVersion
to apiGroup
to fully-qualify a subject. ServiceAccount subjects default to an apiGroup of ""
, User and Group subjects default to an apiGroup of "rbac.authorization.k8s.io"
. (#41184, @liggitt)
- To create or update an RBAC RoleBinding or ClusterRoleBinding object, a user must: (#39383, @liggitt)
-
- Be authorized to make the create or update API request
-
- Be allowed to bind the referenced role, either by already having all of the permissions contained in the referenced role, or by having the "bind" permission on the referenced role.
- The
--authorization-rbac-super-user
flag (alpha in 1.5) is deprecated; the system:masters
group has privileged access (#38121, @deads2k)
- special handling of the user
*
in RoleBinding and ClusterRoleBinding objects is removed in v1beta1. To match all users, explicitly bind to the group system:authenticated
and/or system:unauthenticated
. Existing v1alpha1 bindings to the user *
are automatically converted to the group system:authenticated
. (#38981, @liggitt)
Scheduling
Service
- The 'endpoints.beta.kubernetes.io/hostnames-map' annotation is no longer supported. Users can use the 'Endpoints.subsets[].addresses[].hostname' field instead. (#39284, @bowei)
StatefulSet
- StatefulSet now respects ControllerRef to avoid fighting over Pods. At the time of upgrade, you must not have StatefulSets with selectors that overlap with any other controllers (such as ReplicaSets), or else ownership of Pods may change. (#42080, @enisoc)
Volumes
- StorageClass pre-installed and set as default on Azure, AWS, GCE, OpenStack, and vSphere.
- This is something to pay close attention to if you’ve been using Kubernetes for a while, because it changes the default behavior of PersistentVolumeClaim objects on these clouds.
- Marking a StorageClass as default makes it so that even a PersistentVolumeClaim without a StorageClass specified will trigger dynamic provisioning (instead of binding to an existing pool of PVs).
- If you depend on the old behavior of volumes binding to existing pool of PersistentVolume objects then modify the StorageClass object and set
storageclass.beta.kubernetes.io/is-default-class
to false
.
- Flex volume plugin is updated to support attach/detach interfaces. It broke backward compatibility. Please update your drivers and implement the new callouts. (#41804, @chakri-nelluri)
Notable Features
Features for this release were tracked via the use of the kubernetes/features issues repo. Each Feature issue is owned by a Special Interest Group from the kubernetes/community.
Autoscaling
- [alpha] The Horizontal Pod Autoscaler now supports drawing metrics through the API server aggregator.
- [alpha] The Horizontal Pod Autoscaler now supports scaling on multiple, custom metrics.
- Cluster Autoscaler publishes its status to kube-system/cluster-autoscaler-status ConfigMap.
- Cluster Autoscaler can continue operations while some nodes are broken or unready.
- Cluster Autoscaler respects Pod Disruption Budgets when removing a node.
DaemonSet
Deployment
- [beta] Deployments that cannot make progress in rolling out the newest version will now indicate via the API they are blocked (docs)
Federation
- [beta]
kubefed
has graduated to beta: supports hosting federation on on-prem clusters, automatically configures kube-dns
in joining clusters and allows passing arguments to federation components.
Internal Storage Layer
- [stable] The internal storage layer for kubernetes cluster state has been updated to use etcd v3 by default. Existing clusters will have to plan for a data migration window. (docs)(kubernetes/features#44)
kubeadm
- [beta] Introduces an API for clients to request TLS certificates from the API server. See the tutorial.
- [beta] kubeadm is enhanced and improved with a baseline feature set and command line flags that are now marked as beta. Other parts of kubeadm, including subcommands under
kubeadm alpha
, are still in alpha. Using it is considered safe, although note that upgrades and HA are not yet supported. Please try it out and give us feedback!
- [alpha] New Bootstrap Token authentication and management method. Works well with kubeadm. kubeadm now supports managing tokens, including time based expiration, after the cluster is launched. See kubeadm reference docs for details.
- [alpha] Adds a new cloud-controller-manager binary that may be used for testing the new out-of-core cloudprovider flow.
Node Components
- [stable] Init containers have graduated to GA and now appear as a field.
The beta annotation value will still be respected and overrides the field
value.
- Kubelet Container Runtime Interface (CRI) support
- [beta] The Docker-CRI implementation is enabled by default in kubelet.
You can disable it by --enable-cri=false. See
notes on the new implementation
for more details.
- [alpha] Alpha support for other runtimes:
cri-o, frakti, rkt.
- [beta] Node Problem Detector is beta (v0.3.0) now. New
features added into node-problem-detector:v0.3.0:
- Add support for journald.
- The ability to monitor any system daemon logs. Previously only kernel
logs were supported.
- The ability to be deployed and run as a native daemon.
- [alpha] Critical Pods: When feature gate "ExperimentalCriticalPodAnnotation" is
set to true, the system will guarantee scheduling and admission of pods with
the following annotation -
scheduler.alpha.kubernetes.io/critical-pod
- This feature should be used in conjunction with the
rescheduler to guarantee
resource availability for critical system pods.
- [alpha]
--experimental-nvidia-gpus
flag is replaced by Accelerators
alpha
feature gate along with addition of support for multiple Nvidia GPUs.
- To use GPUs, pass
Accelerators=true
as part of --feature-gates
flag.
- More information here.
- A pod’s Quality of Service Class is now available in its Status.
- Upgrade cAdvisor library to v0.25.0. Notable changes include,
- Container filesystem usage tracking disabled for device mapper due to excessive
IOPS.
- Ignore
.mount
cgroups, fixing disappearing stats.
- A new field
terminationMessagePolicy
has been added to containers that allows
a user to request FallbackToLogsOnError, which will read from the container's
logs to populate the termination message if the user does not write to the
termination message log file. The termination message file is now properly
readable for end users and has a maximum size (4k bytes) to prevent abuse.
Each pod may have up to 12k bytes of termination messages before the contents
of each will be truncated.
- Do not delete pod objects until all its compute resource footprint has been
reclaimed.
- This feature prevents the node and scheduler from oversubscribing resources
that are still being used by a pod in the process of being cleaned up.
- This feature can result in increase of Pod Deletion latency especially if the
pod has a large filesystem footprint.
RBAC
- [beta] RBAC API is promoted to v1beta1 (rbac.authorization.k8s.io/v1beta1), and defines default roles for control plane, node, and controller components.
- [beta] The Docker-CRI implementation is Beta and is enabled by default in kubelet. You can disable it by
--enable-cri=false
. See notes on the new implementation for more details.
Scheduling
- [beta] The multiple schedulers. This feature allows you to run multiple schedulers in parallel, each responsible for different sets of pods. When using multiple schedulers, the scheduler name is now specified in a new-in-1.6
schedulerName
field of the PodSpec rather than using the scheduler.alpha.kubernetes.io/name
annotation on the Pod. When you upgrade to 1.6, the Kubernetes default scheduler will start using the schedulerName
field of the PodSpec and will ignore the annotation.
- [beta] Node affinity/anti-affinity and [beta] pod affinity/anti-affinity. Node affinity/anti-affinity allow you to specify rules for restricting which node(s) a pod can schedule onto, based on the labels on the node. Pod affinity/anti-affinity allow you to specify rules for spreading and packing pods relative to one another, across arbitrary topologies (node, zone, etc.) These affinity rules are now be specified in a new-in-1.6
affinity
field of the PodSpec. Kubernetes 1.6 continues to support the alpha scheduler.alpha.kubernetes.io/affinity
annotation on the Pod if you explicitly enable the alpha feature "AffinityInAnnotations", but it will be removed in a future release. When you upgrade to 1.6, if you have not enabled the alpha feature, then the scheduler will use the affinity
field in PodSpec and will ignore the annotation. If you have enabled the alpha feature, then the scheduler will use the affinity
field in PodSpec if it is present, and otherwise will use the annotation.
- [beta] Taints and tolerations. This feature allows you to specify rules for "repelling" pods from nodes by default, which enables use cases like dedicated nodes and reserving nodes with special features for pods that need those features. We've also added a
NoExecute
taint type that evicts already-running pods, and an associated tolerationSeconds
field to tolerations to delay the eviction for a specified amount of time. As before, taints are created using kubectl taint
(but internally they are now represented as a field taints
in the NodeSpec rather than using the scheduler.alpha.kubernetes.io/taints
annotation on Node). Tolerations are now specified in a new-in-1.6 tolerations
field of the PodSpec rather than using the scheduler.alpha.kubernetes.io/tolerations
annotation on the Pod. When you upgrade to 1.6, the scheduler will start using the fields and will ignore the annotations.
- [alpha] Represent node problems "not ready" and "unreachable" using
NoExecute
taints. In combination with tolerationSeconds
described below, this allows per-pod specification of how long to remain bound to a node that becomes unreachable or not ready, rather than using the default of 5 minutes. You can enable this alpha feature by including TaintBasedEvictions=true
in --feature-gates
, such as --feature-gates=FooBar=true,TaintBasedEvictions=true
. Documentation is here.
Service Catalog
- [alpha] Adds a new API resource
PodPreset
and admission controller to enable defining cross-cutting injection of Volumes and Environment into Pods.
Volumes
- [stable] StorageClass API is promoted to v1 (storage.k8s.io/v1).
- [stable] Default storage classes are deployed during installation on Azure, AWS, GCE, OpenStack and vSphere.
- [stable] Added ability to populate environment variables from a configmap or secret.
- [stable] Support for user-written/run dynamic PV provisioners. The Kubernetes Incubator contains a golang library and examples.
- [stable] Volume plugin for ScaleIO enabling pods to seamlessly access and use data stored on Dell EMC ScaleIO volumes.
- [stable] Volume plugin for Portworx added capability to use Portworx as a storage provider for Kubernetes clusters. Portworx pools server capacity and turns servers or cloud instances into converged, highly available compute and storage nodes.
- [stable] Add support to use NFSv3, NFSv4, and GlusterFS on GCE/GKE GCI image based clusters.
- [beta] Added support for mount options in persistent volumes.
- [alpha] All in one volume proposal - a new volume driver capable of projecting secrets, configmaps, and downward API items into the same directory.
- [alpha] Flex volume API and Improved lifecycle (flexvolume).
Deprecations
- Remove extensions/v1beta1 Jobs resource, and job/v1beta1 generator. (#38614, @soltysh)
federation/deploy/deploy.sh
was an interim solution introduced in Kubernetes v1.4 to simplify the federation control plane deployment experience. Now that we have kubefed
, we are deprecating deploy.sh
scripts. (#38902, @madhusudancs)
Cluster Provisioning Scripts
kubeadm
- Quite a few flags been renamed or removed. Those options that are removed as flags can still be accessed via the config file. Most noteably this includes external etcd settings and the option for setting the cloud provider on the API server. The kubeadm reference documentation is up to date with the new flags.
Other Deprecations
- Remove cmd/kube-discovery from the tree since it's not necessary anymore (#42070, @luxas)
Changes to API Resources
ABAC
- ABAC policies using
"user":"*"
or "group":"*"
to match all users or groups will only match authenticated requests. To match unauthenticated requests, ABAC policies must explicitly specify "group":"system:unauthenticated"
(#38968, @liggitt)
Admission Control
- Adds a new API resource
PodPreset
and admission controller to enable defining cross-cutting injection of Volumes and Environment into Pods. (#41931, @jessfraz)
- Enable DefaultTolerationSeconds admission controller by default (#41815, @kevin-wangzefeng)
- ResourceQuota ability to support default limited resources (#36765, @derekwaynecarr)
- Add defaultTolerationSeconds admission controller (#41414, @kevin-wangzefeng)
- An
automountServiceAccountToken
field was added to ServiceAccount and PodSpec objects. If set to false
on a pod spec, no service account token is automounted in the pod. If set to false
on a service account, no service account token is automounted for that service account unless explicitly overridden in the pod spec. (#37953, @liggitt)
- Admission control support for versioned configuration files (#39109, @derekwaynecarr)
- Ability to quota storage by storage class (#34554, @derekwaynecarr)
Authentication
- The authentication.k8s.io API group was promoted to v1(#41058, @liggitt)
Authorization
- The authorization.k8s.io API group was promoted to v1 (#40709, @liggitt)
- The SubjectAccessReview API now passes subresource and resource name information to the authorizer to answer authorization queries. (#40935, @liggitt)
Autoscaling
- Introduces an new alpha version of the Horizontal Pod Autoscaler including expanded support for specifying metrics. (#36033, @DirectXMan12
- HorizontalPodAutoscaler is no longer supported in extensions/v1beta1 version. Use autoscaling/v1 instead. (#35782, @piosz)
- Fixes an HPA-related panic due to division-by-zero. (#39694, @DirectXMan12)
Certificates
- The CertificateSigningRequest API added the
extra
field to persist all information about the requesting user. This mirrors the fields in the SubjectAccessReview API used to check authorization. (#41755, @liggitt)
- Native support for token based bootstrap flow. This includes signing a well known ConfigMap in the
kube-public
namespace and cleaning out expired tokens. (#36101, @jbeda)
ConfigMap
- Volumes and environment variables populated from ConfigMap and Secret objects can now tolerate the named source object or specific keys being missing, by adding
optional: true
to the volume or environment variable source specifications. (#39981, @fraenkel)
- Allow pods to define multiple environment variables from a whole ConfigMap (#36245, @fraenkel)
CronJob
- Add configurable limits to CronJob resource to specify how many successful and failed jobs are preserved. (#40932, @peay)
DaemonSet
- DaemonSet now respects ControllerRef to avoid fighting over Pods. (#42173, @enisoc)
- Make DaemonSet respect critical pods annotation when scheduling. (#42028, @janetkuo)
- Implement the update feature for DaemonSet. (#41116, @lukaszo)
- Make DaemonSets survive taint-based evictions when nodes turn unreachable/notReady. (#41896, @kevin-wangzefeng)
- Make DaemonSet controller respect node taints and pod tolerations. (#41172, @janetkuo)
- DaemonSet controller actively kills failed pods (to recreate them) (#40330, @janetkuo)
- DaemonSet ObservedGeneration (#39157, @lukaszo)
Deployment
- Add ready replicas in Deployments (#37959, @kargakis)
- Deployments that cannot make progress in rolling out the newest version will now indicate via the API they are blocked
- Introduce apps/v1beta1.Deployments resource with modified defaults compared to extensions/v1beta1.Deployments. (#39683, @soltysh)
- Introduce new generator for apps/v1beta1 deployments (#42362, @soltysh)
Node
Pod
- Init containers have graduated to GA and now appear as a field. The beta annotation value will still be respected and overrides the field value. (#38382, @hodovska)
- A new field
terminationMessagePolicy
has been added to containers that allows a user to request FallbackToLogsOnError
, which will read from the container's logs to populate the termination message if the user does not write to the termination message log file. The termination message file is now properly readable for end users and has a maximum size (4k bytes) to prevent abuse. Each pod may have up to 12k bytes of termination messages before the contents of each will be truncated. (#39341, @smarterclayton)
- Fix issue with PodDisruptionBudgets in which
minAvailable
specified as a percentage did not work with StatefulSet Pods. (#39454, @foxish)
- Node affinity has moved from annotations to api fields in the pod spec. Node affinity that is defined in the annotations will be ignored. (#37299, @rrati)
- Moved pod affinity and anti-affinity from annotations to api fields #25319 (#39478, @rrati)
- Add QoS pod status field (#37968, @sjenning)
Pod Security Policy
- PodSecurityPolicy resource is now enabled by default in the extensions API group. (#39743, @pweil-)
RBAC
- the
attributeRestrictions
field has been removed from the PolicyRule type in the rbac.authorization.k8s.io/v1alpha1 API. The field was not used by the RBAC authorizer. (#39625, @deads2k)
- A user can now be authorized to bind a particular role by having permission to perform the
bind
verb on the referenced role (#39383, @liggitt)
ReplicaSet
Secrets
- Populate environment variables from a secrets. (#39446, @fraenkel)
- Added a new secret type "bootstrap.kubernetes.io/token" for dynamically creating TLS bootstrapping bearer tokens. (#41281, @ericchiang)
Service
- Endpoints, that tolerate unready Pods, are now listing Pods in state Terminating as well (#37093, @simonswine)
- Fix Service Update on LoadBalancerSourceRanges Field (#37720, @freehan)
- Bug fix. Incoming UDP packets not reach newly deployed services (#32561, @zreigz)
- Services of type loadbalancer consume both loadbalancer and nodeport quota. (#39364, @zhouhaibing089)
StatefulSet
- Fix zone placement heuristics so that multiple mounts in a StatefulSet pod are created in the same zone (#40910, @justinsb)
- Fixes issue #38418 which, under circumstance, could cause StatefulSet to deadlock. (#40838, @kow3ns)
- Mediates issue #36859. StatefulSet only acts on Pods whose identity matches the StatefulSet, providing a partial mediation for overlapping controllers.
Taints and Tolerations
- Add a manager to NodeController that is responsible for removing Pods from Nodes tainted with NoExecute Taints. This feature is beta (as the rest of taints) and enabled by default. It's gated by controller-manager enable-taint-manager flag. (#40355, @gmarek)
- Add an alpha feature that makes NodeController set Taints instead of deleting Pods from not Ready Nodes. (#41133, @gmarek)
- Make tolerations respect wildcard key (#39914, @kevin-wangzefeng)
- Forgiveness alpha version api definition (#39469, @kevin-wangzefeng)
- Rescheduler uses taints in v1beta1 and will remove old ones (in version v1alpha1) right after its start. (#43106, @piosz)
Volumes
- StorageClassName attribute has been added to PersistentVolume and PersistentVolumeClaim objects and should be used instead of annotation
volume.beta.kubernetes.io/storage-class
. The beta annotation is still working in this release, however it will be removed in a future release. (#42128, @jsafrane)
- Parameter keys in a StorageClass
parameters
map may not use the kubernetes.io
or k8s.io
namespaces. (#41837, @liggitt)
- Add storage.k8s.io/v1 API (#40088, @jsafrane)
- Alpha version of dynamic volume provisioning is removed in this release. Annotation (#40000, @jsafrane)
- Reduce verbosity of volume reconciler when attaching volumes (#36900, @codablock)
- We change the default attach_detach_controller sync period to 1 minute to reduce the query frequency through cloud provider to check whether volumes are attached or not. (#41363, @jingxu97)
Changes to Major Components
API Server
--anonymous-auth
is enabled by default, unless the API server is started with the AlwaysAllow
authorizer. (#38706, @deads2k)
- when using OIDC authentication and specifying --oidc-username-claim=email, an
"email_verified":true
claim must be returned from the identity provider. (#36087, @ericchiang)
--basic-auth-file
supports optionally specifying groups in the fourth column of the file (#39651, @liggitt)
- API server now has two separate limits for read-only and mutating inflight requests. (#36064, @gmarek)
- Restored normalization of custom
--etcd-prefix
when --storage-backend
is set to etcd3 (#42506, @liggitt)
- Updating apiserver to return http status code 202 for a delete request when the resource is not immediately deleted because of user requesting cascading deletion using DeleteOptions.OrphanDependents=false. (#41165, @nikhiljindal)
- Use full package path for definition name in OpenAPI spec (#40124, @mbohlool)
- Follow redirects for streaming requests (exec/attach/port-forward) in the apiserver by default (alpha -> beta). (#40039, @timstclair)
- Add 'X-Content-Type-Options: nosniff" to some error messages (#37190, @brendandburns)
- Fixes bug in resolving client-requested API versions (#38533, @DirectXMan12)
- Replace glog.Fatals with fmt.Errorfs (#38175, @sttts)
- Pipe get options to storage (#37693, @wojtek-t)
- The --long-running-request-regexp flag to kube-apiserver is deprecated and will be removed in a future release. Long-running requests are now detected based on specific verbs (watch, proxy) or subresources (proxy, portforward, log, exec, attach). (#38119, @liggitt)
- if kube-apiserver is started with
--storage-backend=etcd2
, the media type application/json
is used. (#43122, @liggitt)
- API fields that previously serialized null arrays as
null
and empty arrays as []
no longer distinguish between those values and always output []
when serializing to JSON. (#43422, @liggitt)
- Generate OpenAPI definition for inlined types (#39466, @mbohlool)
API Server Aggregator
Generic API Server
- Move pkg/api/rest into genericapiserver (#39948, @sttts)
- Move non-generic apiserver code out of the generic packages (#38191, @sttts)
- Fixes API compatibility issue with empty lists incorrectly returning a null
items
field instead of an empty array. (#39834, @liggitt)
- Re-add /healthz/ping handler in genericapiserver (#38603, @sttts)
- Remove genericapiserver.Options.MasterServiceNamespace (#38186, @sttts)
- genericapiserver: cut off more dependencies – episode 3 (#40426, @sttts)
- genericapiserver: more dependency cutoffs (#40216, @sttts)
- genericapiserver: cut off kube pkg/version dependency (#39943, @sttts)
- genericapiserver: cut off pkg/serviceaccount dependency (#39945, @sttts)
- genericapiserver: cut off pkg/apis/extensions and pkg/storage dependencies (#39946, @sttts)
- genericapiserver: cut off certificates api dependency (#39947, @sttts)
- genericapiserver: extract CA cert from server cert and SNI cert chains (#39022, @sttts)
- genericapiserver: turn APIContainer.SecretRoutes into a real ServeMux (#38826, @sttts)
- genericapiserver: unify swagger and openapi in config (#38690, @sttts)
Client
- Use Prometheus instrumentation conventions (#36704, @fabxc)
- Clients now use the
?watch=true
parameter to make watch API calls, instead of the /watch/
path prefix (#41722, @liggitt)
- Move private key parsing from serviceaccount/jwt.go to client-go/util/cert (#40907, @cblecker)
- Caching added to the OIDC client auth plugin to fix races and reduce the time kubectl commands using this plugin take by several seconds. (#38167, @ericchiang)
- Fix resync goroutine leak in ListAndWatch (#35672, @tatsuhiro-t)
client-go
Cloud Provider
AWS
- Allow to running the master with a different AWS account or even on a different cloud provider than the nodes. (#39996, @scheeles)
- Support shared tag
kubernetes.io/cluster/<clusterid>
(#41695, @justinsb)
- Do not consider master instance zones for dynamic volume creation (#41702, @justinsb)
- Fix AWS device allocator to only use valid device names (#41455, @gnufied)
- Trust region if found from AWS metadata (#38880, @justinsb)
- Remove duplicate calls to DescribeInstance during volume operations (#39842, @gnufied)
- Recognize eu-west-2 region (#38746, @justinsb)
- Recognize ca-central-1 region (#38410, @justinsb)
- Add sequential allocator for device names. (#38818, @jsafrane)
Azure
GCE
- On GCI by default logrotate is disabled for application containers in favor of rotation mechanism provided by docker logging driver. (#40634, @crassirostris)
GKE
vSphere
- Reverts to looking up the current VM in vSphere using the machine's UUID, either obtained via sysfs or via the
vm-uuid
parameter in the cloud configuration file. (#40892, @robdaemon)
- Fix for detach volume when node is not present/ powered off (#40118, @BaluDontu)
- Adding vmdk file extension for vmDiskPath in vsphere DeleteVolume (#40538, @divyenpatel)
- Changed default scsi controller type in vSphere Cloud Provider (#38426, @abrarshivani)
- Fixes NotAuthenticated errors that appear in the kubelet and kube-controller-manager due to never logging in to vSphere (#36169, @robdaemon)
- Fix panic in vSphere cloud provider (#38423, @BaluDontu)
- Fix space issue in volumePath with vSphere Cloud Provider (#38338, @BaluDontu)
Federation
kubefed
- Flag cleanup (#41335, @irfanurrehman)
- Create configmap for the cluster kube-dns when cluster joins and remove when it unjoins (#39338, @irfanurrehman)
- Support configuring dns-provider (#40528, @shashidharatd)
- Bug fix relating kubeconfig path in kubefed init (#41410, @irfanurrehman)
- Add override flags options to kubefed init (#40917, @irfanurrehman)
- Add option to expose federation apiserver on nodeport service (#40516, @shashidharatd)
- Add option to disable persistence storage for etcd (#40862, @shashidharatd)
- kubefed init creates a service account for federation controller manager in the federation-system namespace and binds that service account to the federation-system:federation-controller-manager role that has read and list access on secrets in the federation-system namespace. (#40392, @madhusudancs)
- Implement dry run support in kubefed init (#36447, @irfanurrehman)
- Make federation etcd PVC size configurable (#36310, @irfanurrehman)
Other Notable Changes
- Federated Ingress over GCE no longer requires separate firewall rules to be created for each cluster to circumvent flapping firewall health checks. (#41942, @csbell)
- Add support for finalizers in federated configmaps (deletes configmaps from underlying clusters). (#40464, @csbell)
- Add support for DeleteOptions.OrphanDependents for federated services. Setting it to false while deleting a federated service also deletes the corresponding services from all registered clusters. (#36390, @nikhiljindal)
- Add
--controllers
flag to federation controller manager for enable/disable federation ingress controller (#36643, @kzwang)
- Stop deleting services from underlying clusters when federated service is deleted. (#37353, @nikhiljindal)
- Expose autoscaling apis through federation api server (#38976, @irfanurrehman)
- Federation: Add
batch/jobs
API objects to federation-apiserver (#35943, @jianhuiz)
- Add logging of route53 calls (#39964, @justinsb)
Garbage Collector
- Added foreground garbage collection: the owner object will not be deleted until all its dependents are deleted by the garbage collector. Please checkout the user doc for details. (#38676, @caesarxuchao)
- deleteOptions.orphanDependents is going to be deprecated in 1.7. Please use deleteOptions.propagationPolicy instead.
kubeadm
- A new label and taint is used for marking the master. The label is
node-role.kubernetes.io/master=""
and the taint has the effect NoSchedule
. Tolerate the node-role.kubernetes.io/master="":NoSchedule
taint to schedule a workload on the master (a networking DaemonSet for example).
- The kubelet API is now secured, only cluster admins are allowed to access it.
- Insecure access to the API Server over
localhost:8080
is now disabled.
- The control plane components now talk securely to each other. The API Server talks securely to the kubelets in the cluster.
- kubeadm creates RBAC-enabled clusters. This means that some add-ons which worked previously won't work without having their YAML configuration updated. Please see each vendor's own documentation to check that the add-ons you are using will work with Kubernetes 1.6.
- The kube-discovery Deployment isn't used anymore when creating a kubeadm cluster and shouldn't be used anywhere else either due to its insecure nature.
- The Certificates API has graduated from alpha to beta. This is a backwards-incompatible change since the alpha support is dropped, and therefore kubeadm v1.5 and v1.6 don't work together (for example kubeadm v1.5 can't join a kubeadm v1.6 cluster).
- Supporting only etcd3, with 3.0.14 as the minimum version.
kubeadm reset
will no longer drain nodes automatically. This is because the credentials on nodes do not have permission to perform this operation. We have documented an alternate procedure, driven from the API server/master.
- Hook up kubeadm against the BootstrapSigner (#41417, @luxas)
- Rename some flags for beta UI and fixup some logic (#42064, @luxas)
- Insecure access to the API Server at localhost:8080 will be turned off in v1.6 when using kubeadm (#42066, @luxas)
- Flag --use-kubernetes-version for kubeadm init renamed to --kubernetes-version (#41820, @kad)
- Remove the --cloud-provider flag for beta init UX (#41710, @luxas)
- Fixed an SELinux issue in kubeadm on Docker 1.12+ by moving etcd SELinux options from container to pod. (#40682, @dgoodwin)
- Add authorization mode to kubeadm (#39846, @andrewrynhard)
- Refactor the certificate and kubeconfig code in the kubeadm binary into two phases (#39280, @luxas)
- Added kubeadm commands to manage bootstrap tokens and the duration they are valid for. (#35805, @dgoodwin)
kubectl
New Commands
apply set-last-applied
updates the applied-applied-configuration annotation (#41694, @shiywang)
kubectl apply view-last-applied
viewing the last configuration file applied (#41146, @shiywang)
Create subcommands
Updates to existing commands
- Printing and output
- Import a numeric ordering sorting library and use it in the sorting printer. (#40746, @matthyx)
- DaemonSet get and describe show status fields. (#42843, @janetkuo)
- Pods describe shows tolerationSeconds (#42162, @kevin-wangzefeng)
- Node describe contains closing paren (#39217, @luksa)
- Display pod node selectors with kubectl describe. (#36396, @aveshagarwal)
- Add Version to the resource printer for 'get nodes' (#37943, @ailusazh)
- Added support for printing in all supported
--output
formats to kubectl create ...
and kubectl apply ...
(#38112, @juanvallejo)
- Add three more columns to
kubectl get deploy -o wide
output. (#39240, @xingzhou)
- Fix kubectl get -f -o so it prints all items in the file (#39038, @ncdc)
- kubectl describe no longer prints the last-applied-configuration annotation for secrets. (#34664, @ymqytw)
- Completed pods should not be hidden when requested by name via
kubectl get
. (#42216, @smarterclayton)
- Improve formatting of EventSource in kubectl get and kubectl describe (#40073, @matthyx)
- Attach now supports multiple types (#40365, @shiywang)
- Create now accepts the label selector flag for filtering objects to create (#40057, @MrHohn)
- Top now accepts short forms for "node" and "pod" ("no", "po") (#39218, @luksa)
- Begin paths for internationalization in kubectl (#36802, @brendandburns)
Updates to apply
- New command
apply set-last-applied
updates the applied-applied-configuration annotation (#41694, @shiywang)
- New command
apply view-last-applied
command for viewing the last configuration file applied (#41146, @shiywang)
apply
now supports explicitly clearing values by setting them to null (#40630, @liggitt)
- Warn user when using
apply
on a resource lacking the LastAppliedConfig
annotation (#36672, @ymqytw)
- PATCH (i.e. apply and edit) now supports merging lists of primitives (#38665, @ymqytw)
apply
falls back to generic 3-way JSON merge patch for Third Party Resource or unregistered types (#40666, @ymqytw)
Updates to edit
edit
now supports Third party resources and extension API servers. (#41304, @liggitt)
- Now to edit a particular API version, provide the fully-qualify the resource, version, and group used to fetch the object (for example,
job.v1.batch/myjob
)
- Client-side conversion is no longer done, and the
--output-version
option is deprecated for kubectl edit
.
edit
works as intended with apply and will not change the annotation
- No longer updates the last-applied-configuration annotation when --save-config is unspecified or false. (#41924, @ymqytw)
- Fixes issue that caused apply to revert changes made by edit
Bug fixes
- Fixed --save-config in create subcommand to save the annotation (#40289, @xilabao)
- Fixed an issue where 'kubectl get --sort-by=' would return an error if the specified fields in sort were not specified in one or more of the returned objects. (#40541, @fabianofranz)
- Previously this would cause the command to fail regardless of whether or not the field was present in the object model
- Now the command will succeed even if the sort-by field is missing from one or more of the objects
- Fixed issue with kubectl proxy so it will now proxy an empty path - e.g. http://localhost:8001 (#39226, @luksa)
- Fixed an issue where commas were not accepted in --from-literal flags for the creation of secrets. (#35191, @SamiHiltunen)
- Passing multiple values separated by a comma in a single --from-literal flag is no longer supported. Please use multiple --from-literal flags to provide multiple values.
- Fixed a bug where the --server, --token, and --certificate-authority flags were not overriding the related in-cluster configs when provided in a
kubectl
call inside a cluster. (#39006, @fabianofranz)
Other Notable Changes
- The api server will publish the extensions/Deployments API as preferred over the apps/Deployment (introduced in 1.6). (#43553, @liggitt)
- This will ensure certain commands in 1.5 versions of kubectl continue function when run against a 1.6 server. (e.g.
kubectl edit deployment
)
- Taint
- The
taint
command will not function in a skewed 1.5 / 1.6 environment - client and server versions must match (See Action required section above)
- Change taints/tolerations to api fields (#38957, @aveshagarwal)
- Make kubectl taint command respect effect NoExecute (#42120, @kevin-wangzefeng)
- Allow drain --force to remove pods whose managing resource is deleted. (#41864, @marun)
--output-version
is ignored for all commands except kubectl convert
. This is consistent with the generic nature of kubectl
CRUD commands and the previous removal of --api-version
. Specific versions can be specified in the resource field: resource.version.group
, jobs.v1.batch
. (#41576, @deads2k)
- Allow missing keys in templates by default (#39486, @ncdc)
- Add error message when trying to use clusterrole with namespace in kubectl (#36424, @xilabao)
- When deleting an object with
--grace-period=0
, the client will begin a graceful deletion and wait until the resource is fully deleted. To force deletion, use the --force
flag. (#37263, @smarterclayton)
Node Components
- Kubelet config should ignore file start with dots.
(#39196, @resouer)
- Bump GCI to gci-stable-56-9000-84-2.
(#41819,
@dchen1107)
- Bump GCE ContainerVM to container-vm-v20170214 to address CVE-2016-9962.
(#41449,
@zmerlynn)
- Kubelet: Remove the PLEG health check from /healthz, Kubelet will now report
- NodeNotReady on failed PLEG health check.
(#41569,
@yujuhong)
- CRI: upgrade protobuf to v3. Protobuf v2 and v3 are not compatible.
(#39158, @feiskyer)
- kubelet exports metrics for cgroup management (#41988, @sjenning)
- Experimental support to reserve a pod's memory request from being utilized by
pods in lower QoS tiers.
(#41149,
@sjenning)
- Port forwarding can forward over websockets or SPDY.
(#33684,
@fraenkel)
- Flag gate faster evictions based on node memory pressure using kernel memcg
notifications -
--experimental-kernel-memcg-notification
.
(#38258,
@derekwaynecarr)
- Nodes can now report two additional address types in their status: InternalDNS
and ExternalDNS. The apiserver can use --kubelet-preferred-address-types to
give priority to the type of address it uses to reach nodes.
(#34259, @liggitt)
Bug fixes
kube-controller-manager
kube-dns
-
Adds support for configurable DNS stub domains and upstream nameservers.
The following configuration options have been added to the kube-system:kube-dns
ConfigMap:
"stubDomains": {
"acme.local": ["1.2.3.4"]
},
is a map of domain to list of nameservers for the domain. This is used
to inject private DNS domains into the kube-dns namespace. In the above
example, any DNS requests for *.acme.local will be served by the
nameserver 1.2.3.4.
"upstreamNameservers": ["8.8.8.8", "8.8.4.4"]
is a list of upstreamNameservers to use, overriding the configuration
specified in /etc/resolv.conf.
-
An empty kube-system:kube-dns
ConfigMap will be created for the cluster if one did not already exist.
kube-proxy
- - Add tcp/udp userspace proxy support for Windows. (#41487, @anhowe)
- Add DNS suffix search list support in Windows kube-proxy. (#41618, @JiangtianLi)
- Add a KUBERNETES_NODE_* section to build kubelet/kube-proxy for windows (#38919, @brendandburns)
- Remove outdated net.experimental.kubernetes.io/proxy-mode and net.beta.kubernetes.io/proxy-mode annotations from kube-proxy. (#40585, @cblecker)
- proxy/iptables: don't sync proxy rules if services map didn't change (#38996, @dcbw)
- Update kube-proxy image to be based off of Debian 8.6 base image. (#39695, @ixdy)
- Update amd64 kube-proxy base image to debian-iptables-amd64:v5 (#39725, @ixdy)
- Clean up the kube-proxy container image by removing unnecessary packages and files. (#42090, @timstclair)
- Better compat with very old iptables (e.g. CentOS 6) (#37594, @thockin)
Scheduler
- Add the support to the scheduler for spreading pods of StatefulSets. (#41708, @bsalamat)
- Added support to minimize sending verbose node information to scheduler extender by sending only node names and expecting extenders to cache the rest of the node information (#41119, @sarat-k)
- Support KUBE_MAX_PD_VOLS on Azure (#41398, @codablock)
- Mark multi-scheduler graduation to beta and then v1. (#38871, @k82cn)
- Scheduler treats StatefulSet pods as belonging to a single equivalence class. (#39718, @foxish)
- Update FitError as a message component into the PodConditionUpdater. (#39491, @jayunit100)
- Fix comment and optimize code (#38084, @tanshanshan)
- Add flag to enable contention profiling in scheduler. (#37357, @gmarek)
- Try self-repair scheduler cache or panic (#37379, @wojtek-t)
Volume Plugins
Azure Disk
GlusterFS
- The glusterfs dynamic volume provisioner will now choose a unique GID for new persistent volumes from a range that can be configured in the storage class with the "gidMin" and "gidMax" parameters. The default range is 2000 - 2147483647 (max int32). (#37886, @obnoxxx)
Photon
- Fix photon controller plugin to construct with correct PdID (#37167, @luomiao)
rbd
- force unlock rbd image if the image is not used (#41597, @rootfs)
vSphere
Other Notable Changes
- Implement bulk polling of volumes (#41306, @gnufied)
- Check if pathExists before performing Unmount (#39311, @rkouj)
- Unmount operation should not fail if volume is already unmounted (#38547, @rkouj)
- Provide kubernetes-controller-manager flags to control volume attach/detach reconciler sync. The duration of the syncs can be controlled, and the syncs can be shut off as well. (#39551, @chrislovecnm)
- Fix unmountDevice issue caused by shared mount in GCI (#38411, @jingxu97)
- Fix permissions when using fsGroup (#37009, @sjenning)
- Fixed issues (#39202), (#41041) and (#40941) that caused the iSCSI connections to
be prematurely closed when deleting a pod with an iSCSI persistent volume attached and that prevented the use of newly created LUNs on targets with preestablished connections. (#41196), @CristianPop)
Changes to Cluster Provisioning Scripts
AWS
Juju
- The kubernetes-master, kubernetes-worker and kubeapi-load-balancer charms have gained an nrpe-external-master relation, allowing the integration of their monitoring in an external Nagios server. (#41923, @Cynerva)
- Disable anonymous auth on kubelet (#41919, @Cynerva)
- Fix shebangs in charm actions to use python3 (#42058, @Cynerva)
- K8s master charm now properly keeps distributed master files in sync for an HA control plane. (#41351, @chuckbutler)
- Improve status messages (#40691, @Cynerva)
- Splits Juju Charm layers into master/worker roles (#40324, @chuckbutler)
- Adds support for 1.5.x series of Kubernetes
- Introduces a tactic for keeping templates in sync with upstream eliminating template drift
- Adds CNI support to the Juju Charms
- Adds durable storage support to the Juju Charms
- Introduces an e2e Charm layer for repeatable testing efforts and validation of clusters
libvirt CoreOS
GCE
- the
gce
provider enables both RBAC authorization and the permissive legacy ABAC policy that makes all service accounts superusers. To opt out of the permissive ABAC policy, export the environment variable ENABLE_LEGACY_ABAC=false
before running cluster/kube-up.sh
. (#43544, @liggitt)
- the
gce
provider ensures the bootstrap admin token user is included in the super-user group (#39537, @liggitt)
- Remove support for debian masters in GCE kube-up. (#41666, @mikedanese)
- Remove support for trusty in GCE kube-up. (#41670, @mikedanese)
- Don't fail if the grep fails to match any resources (#41933, @ixdy)
- Fix the output of health-mointor.sh (#41525, @yujuhong)
- Added configurable etcd initial-cluster-state to kube-up script. (#41332, @jszczepkowski)
- The kube-apiserver basic audit log can be enabled in GCE by exporting the environment variable
ENABLE_APISERVER_BASIC_AUDIT=true
before running cluster/kube-up.sh
. This will log to /var/log/kube-apiserver-audit.log
and use the same logrotate
settings as /var/log/kube-apiserver.log
. (#41211, @enisoc)
- On kube-up.sh clusters on GCE, kube-scheduler now contacts the API on the secured port. (#41285, @liggitt)
- Use existing ABAC policy file when upgrading GCE cluster (#40172, @liggitt)
- Ensure the GCI metadata files do not have newline at the end (#38727, @Amey-D)
- Fixed detection of master during creation of multizone nodes cluster by kube-up. (#38617, @jszczepkowski)
- Fixed validation of multizone cluster for GCE (#38695, @jszczepkowski)
- Fix GCI mounter issue (#38124, @jingxu97)
- Exit with error if is not the final parameter. (#37723, @mtaufen)
- GCI: Remove /var/lib/docker/network (#37593, @yujuhong)
- Fix the equality checks for numeric values in cluster/gce/util.sh. (#37638, @roberthbailey)
- Modify GCI mounter to enable NFSv3 (#37582, @jingxu97)
- Use gsed on the Mac (#37562, @roberthbailey)
- Bump GCI
- to gci-beta-56-9000-80-0 (#41027, @dchen1107)
- to gci-stable-56-9000-84-2 (#41819, @dchen1107)
- Bump GCE ContainerVM
OpenStack
- Do not daemonize
salt-minion
for the openstack-heat provider. (#40722, @micmro)
- OpenStack-Heat will now look for an image named "CentOS-7-x86_64-GenericCloud-1604". To restore the previous behavior set OPENSTACK_IMAGE_NAME="CentOS7" (#40368, @sc68cal)
- Fixes a bug in the OpenStack-Heat kubernetes provider, in the handling of differences between the Identity v2 and Identity v3 APIs (#40105, @sc68cal)
Container Images
- Update gcr.io/google-containers/rescheduler to v0.2.2, which uses busybox as a base image instead of ubuntu. (#41911, @ixdy)
- Remove unnecessary metrics (http/process/go) from being exposed by etcd-version-monitor (#41807, @shyamjvs)
- Align the hyperkube image to support running binaries at /usr/local/bin/ like the other server images (#41017, @luxas)
- Bump up GLBC version from 0.9.0-beta to 0.9.1 (#41037, @bprashanth)
Other Notable Changes
- The default client certificate generated by kube-up now contains the superuser
system:masters
group (#39966, @liggitt)
- Added support for creating HA clusters for centos using kube-up.sh. (#39462, @Shawyeok)
- Enable lazy inode table and journal initialization for ext3 and ext4 (#38865, @codablock)
- Since
kubernetes.tar.gz
no longer includes client or server binaries, cluster/kube-{up,down,push}.sh
now automatically download released binaries if they are missing. (#38730, @ixdy)
- fix broken cluster/centos and enhance the style (#34002, @xiaoping378)
- Set kernel.softlockup_panic =1 based on the flag. (#38001, @dchen1107)
- configure local-up-cluster.sh to handle auth proxies (#36838, @deads2k)
kube-up.sh
/kube-down.sh
no longer force update gcloud for provider=gce|gke. (#36292, @jlowdermilk)
- Collect logs for dead kubelets too (#37671, @mtaufen)
Changes to Addons
Dashboard
DNS
-
Updates the dnsmasq cache/mux layer to be managed by dnsmasq-nanny. (#41826, @bowei)
dnsmasq-nanny manages dnsmasq based on values from the
kube-system:kube-dns configmap:
"stubDomains": {
"acme.local": ["1.2.3.4"]
},
is a map of domain to list of nameservers for the domain. This is used
to inject private DNS domains into the kube-dns namespace. In the above
example, any DNS requests for *.acme.local
will be served by the
nameserver 1.2.3.4.
upstreamNameservers": ["8.8.8.8", "8.8.4.4"]
is a list of upstreamNameservers to use, overriding the configuration
specified in /etc/resolv.conf
.
-
kube-dns
now runs using a separate system:serviceaccount:kube-system:kube-dns
service account which is automatically bound to the correct RBAC permissions. (#38816, @deads2k)
-
Use kube-dns:1.11.0 (#39925, @sadlil)
DNS Autoscaler
- Patch CVE-2016-8859 in gcr.io/google-containers/cluster-proportional-autoscaler-amd64 (#42933, @timstclair)
Cluster Autoscaler
- Allow the Horizontal Pod Autoscaler controller to talk to the metrics API and custom metrics API as standard APIs. (#41824, @DirectXMan12)
Cluster Load Balancing
etcd Empty Dir Cleanup
- Base etcd-empty-dir-cleanup on busybox, run as nobody, and update to etcdctl 3.0.14 (#41674, @ixdy)
Fluentd
- Migrated fluentd addon to daemon set (#32088, @piosz)
- Fluentd was migrated to Daemon Set, which targets nodes with beta.kubernetes.io/fluentd-ds-ready=true label. If you use fluentd in your cluster please make sure that the nodes with version 1.6+ contains this label. (#42931, @piosz)
- Fluentd-gcp containers spawned by DaemonSet are now configured using ConfigMap (#42126, @crassirostris)
- Cleanup fluentd-gcp image: rebase on debian-base, switch to upstream packages, remove fluent-ui & rails (#41998, @timstclair)
- On GCE, the apiserver audit log (
/var/log/kube-apiserver-audit.log
) will be sent through fluentd if enabled. It will go to the same place as kube-apiserver.log
, but tagged as its own stream. (#41360, @enisoc)
- If
experimentalCriticalPodAnnotation
feature gate is set to true, fluentd pods will not be evicted by the kubelet. (#41035, @vishh)
- fluentd config for GKE clusters updated: detect exceptions in container log streams and forward them as one log entry. (#39656, @thomasschickinger)
- Make fluentd pods critical (#39146, @crassirostris)
- Fluentd/Elastisearch add-on: correctly parse and index kubernetes labels (#36857, @Shrugs)
Heapster
Registry
External Dependency Version Information
Continuous integration builds have used the following versions of external dependencies, however, this is not a strong recommendation and users should consult an appropriate installation or upgrade guide before deciding what versions of etcd, docker or rkt to use.
- Docker versions 1.10.3, 1.11.2, 1.12.6 have been validated
- Docker version 1.12.6 known issues
- overlay2 driver not fully supported
- live-restore not fully supported
- no shared pid namespace support
- Docker version 1.11.2 known issues
- Kernel crash with Aufs storage driver on Debian Jessie (#27885)
which can be identified by the node problem detector
- Leaked File descriptors (#275)
- Additional memory overhead per container (#21737)
- Docker 1.10.3 contains backports provided by RedHat for known issues
- Support for Docker version 1.9.x has been removed
- rkt version 1.23.0+
- etcd version 3.0.17
Changelog since v1.6.0-rc.1
Previous Releases Included in v1.6.0
v1.5.6
Documentation & Examples
Downloads for v1.5.6
filename |
sha256 hash |
kubernetes.tar.gz |
14a514bb9ed331eb1854a1d66cfaa53290c382641e154c901bcb14eb2cd683b4 |
kubernetes-src.tar.gz |
cf3d85bcfd148ed6a54c64b4102a10cc4e54332907fb3d9a6c6e2658a31ca2e9 |
Client Binaries
Server Binaries
Changelog since v1.5.5
Other notable changes
- kube-up (with gce/gci and gce/coreos providers) now ensures the authentication token file contains correct tokens for the control plane components, even if the file already exists (ensures upgrades and downgrades work successfully) (#43676, @liggitt)
- Patch CVE-2016-8859 in alpine based images: (#42936, @timstclair)
-
- gcr.io/google-containers/cluster-proportional-autoscaler-amd64
-
- gcr.io/google-containers/dnsmasq-metrics-amd64
-
- gcr.io/google-containers/etcd-empty-dir-cleanup
-
- gcr.io/google-containers/kube-addon-manager
-
- gcr.io/google-containers/kube-dnsmasq-amd64
-
- Disable thin_ls due to excessive iops (#43113, @dashpole)
-
- Ignore .mount cgroups, fixing dissappearing stats
-
-
- Update aws-sdk-go dependency to 1.6.10
- PodSecurityPolicy authorization is correctly enforced by the PodSecurityPolicy admission plugin. (#43489, @liggitt)
- Bump gcr.io/google_containers/glbc from 0.9.1 to 0.9.2. Release notes: 0.9.2 (#43097, @timstclair)
- Update gcr.io/google-containers/rescheduler to v0.2.2, which uses busybox as a base image instead of ubuntu. (#41911, @ixdy)
- restored normalization of custom
--etcd-prefix
when --storage-backend
is set to etcd3 (#42506, @liggitt)
v1.6.0-rc.1
Documentation & Examples
Downloads for v1.6.0-rc.1
filename |
sha256 hash |
kubernetes.tar.gz |
b92be4b71184888ba4a2781d4068ea369442b6030dfb38e23029192a554651e5 |
kubernetes-src.tar.gz |
e45e993edfdba176a6750c6d3c2207d54d60b5b1fc80a0fe47274d4d9b233d66 |
Client Binaries
Server Binaries
Changelog since v1.6.0-beta.4
Other notable changes
kube-up.sh
using the gce
provider enables both RBAC authorization and the permissive legacy ABAC policy that makes all service accounts superusers. To opt out of the permissive ABAC policy, export the environment variable ENABLE_LEGACY_ABAC=false
before running cluster/kube-up.sh
. (#43544, @liggitt)
- Bump CNI consumers to v0.5.1 (#43546, @calebamiles)
- The API server discovery document now prioritizes the
extensions
API group over the apps
API group. This ensures certain commands in 1.5 versions of kubectl (such as kubectl edit deployment
) continue to function against a 1.6 API. (#43553, @liggitt)
- Fix adding disks to more than one scsi adapter. (#42422, @kerneltime)
- PodSecurityPolicy authorization is correctly enforced by the PodSecurityPolicy admission plugin. (#43489, @liggitt)
- API fields that previously serialized null arrays as
null
and empty arrays as []
no longer distinguish between those values and always output []
when serializing to JSON. (#43422, @liggitt)
- Apply taint tolerations for NoExecute for all static pods. (#43116, @dchen1107)
- Bumped Heapster to v1.3.0. (#43298, @piosz)
v1.5.5
This release contains a fix for a PodSecurityPolicy vulnerability which allows users to make use of any existing PodSecurityPolicy object, even ones they are not authorized to use.
Other then that, this release contains no other changes from 1.5.4.
The vulnerability is tracked in http://issue.k8s.io/43459.
Who is affected?
Only Kubernetes 1.5.0-1.5.4 installations that do all of the following:
- Enable the PodSecurityPolicy API (which is not enabled by default):
--runtime-config=extensions/v1beta1/podsecuritypolicy=true
- Enable the PodSecurityPolicy admission plugin (which is not enabled by default):
--admission-control=...,PodSecurityPolicy,...
- Use authorization to limit users' ability to use specific PodSecurityPolicy objects
What is the impact?
A user that is authorized to create pods can make use of any existing PodSecurityPolicy, even ones they are not authorized to use.
How can I mitigate this prior to installing 1.5.5?
- Export existing PodSecurityPolicy objects:
kubectl get podsecuritypolicies -o yaml > psp.yaml
- Review and delete any PodSecurityPolicy objects you do not want all pod-creating users to be able to use (NOTE: Privileged users that were making use of those policies will also lose access to those policies). For example:
kubectl delete podsecuritypolicies/my-privileged-policy
- After upgrading to 1.5.5, re-create the exported PodSecurityPolicy objects:
kubectl create -f psp.yaml
Downloads for v1.5.5
filename |
sha256 hash |
kubernetes.tar.gz |
ff171d53b6dba2aace899dbfa06044d3a54d798896f7b6dd483f20d2c05374ed |
kubernetes-src.tar.gz |
25207344982bcf76172c7d156106357a7113b3909ac851e19b437dbba9402af6 |
Client Binaries
Server Binaries
Changelog since v1.5.4
No notable changes for this release
v1.6.0-beta.4
Documentation & Examples
Downloads for v1.6.0-beta.4
filename |
sha256 hash |
kubernetes.tar.gz |
8f308a87bcc367656c777f74270a82ad6986517c28a08c7158c77b1d7954e243 |
kubernetes-src.tar.gz |
3ba73cf27a05f78026d1cfb3a0e47c6e5e33932aefc630a0a5aa3619561bc4dc |
Client Binaries
Server Binaries
Changelog since v1.6.0-beta.3
Other notable changes
- Update dashboard version to v1.6.0 (#43210, @floreks)
- Update photon controller go SDK in vendor code. (#43108, @luomiao)
- Fluentd was migrated to Daemon Set, which targets nodes with beta.kubernetes.io/fluentd-ds-ready=true label. If you use fluentd in your cluster please make sure that the nodes with version 1.6+ contains this label. (#42931, @piosz)
- if kube-apiserver is started with
--storage-backend=etcd2
, the media type application/json
is used. (#43122, @liggitt)
- Add -p to mkdirs in gci-mounter function of gce configure.sh script (#43134, @shyamjvs)
- Rescheduler uses taints in v1beta1 and will remove old ones (in version v1alpha1) right after its start. (#43106, @piosz)
- kubeadm:
kubeadm reset
won't drain and remove the current node anymore (#42713, @luxas)
- hack/godep-restore.sh: use godep v79 which works (#42965, @sttts)
- Patch CVE-2016-8859 in gcr.io/google-containers/cluster-proportional-autoscaler-amd64 (#42933, @timstclair)
- Disable devicemapper thin_ls due to excessive iops (#42899, @dashpole)
v1.6.0-beta.3
Documentation & Examples
Downloads for v1.6.0-beta.3
filename |
sha256 hash |
kubernetes.tar.gz |
3903f0a49945abe26f5775c20deb25ba65a8607a2944da8802255bd50d20aca7 |
kubernetes-src.tar.gz |
62f5f9459c14163e319f878494d10296052d75345da7906e8b38a2d6d0d2a25c |
Client Binaries
Server Binaries
Changelog since v1.6.0-beta.2
Other notable changes
- Introduce new generator for apps/v1beta1 deployments (#42362, @soltysh)
- Use Prometheus instrumentation conventions (#36704, @fabxc)
- Add new DaemonSet status fields to kubectl printer and describer. (#42843, @janetkuo)
- Dropped the support for docker 1.9.x and the belows. (#42694, @dchen1107)
v1.6.0-beta.2
Documentation & Examples
Downloads for v1.6.0-beta.2
filename |
sha256 hash |
kubernetes.tar.gz |
8199c781f8c98ed7048e939a590ea10a6c39f6a74bd35ed526b459fa18e20f50 |
kubernetes-src.tar.gz |
f8de26ab6493d4547f9068f5ef396650c169702863535ba63feaf815464a6702 |
Client Binaries
Server Binaries
Changelog since v1.6.0-beta.1
Action Required
- Deployment now fully respects ControllerRef to avoid fighting over Pods and ReplicaSets. At the time of upgrade, you must not have Deployments with selectors that overlap, or else ownership of ReplicaSets may change. (#42175, @enisoc)
- StatefulSet now respects ControllerRef to avoid fighting over Pods. At the time of upgrade, you must not have StatefulSets with selectors that overlap with any other controllers (such as ReplicaSets), or else ownership of Pods may change. (#42080, @enisoc)
Other notable changes
- DaemonSet now respects ControllerRef to avoid fighting over Pods. (#42173, @enisoc)
- restored normalization of custom
--etcd-prefix
when --storage-backend
is set to etcd3 (#42506, @liggitt)
- kubelet created cgroups follow lowercase naming conventions (#42497, @derekwaynecarr)
- Support whitespace in command path for gcp auth plugin (#41653, @jlowdermilk)
- Updates the dnsmasq cache/mux layer to be managed by dnsmasq-nanny. (#41826, @bowei)
- dnsmasq-nanny manages dnsmasq based on values from the
- kube-system:kube-dns configmap:
- "stubDomains": {
- "acme.local": ["1.2.3.4"]
- },
- is a map of domain to list of nameservers for the domain. This is used
- to inject private DNS domains into the kube-dns namespace. In the above
- example, any DNS requests for *.acme.local will be served by the
- nameserver 1.2.3.4.
- "upstreamNameservers": ["8.8.8.8", "8.8.4.4"]
- is a list of upstreamNameservers to use, overriding the configuration
- specified in /etc/resolv.conf.
- kubelet exports metrics for cgroup management (#41988, @sjenning)
- kubectl: respect deployment strategy parameters for rollout status (#41809, @kargakis)
- Remove cmd/kube-discovery from the tree since it's not necessary anymore (#42070, @luxas)
- kubeadm: Hook up kubeadm against the BootstrapSigner (#41417, @luxas)
- Federated Ingress over GCE no longer requires separate firewall rules to be created for each cluster to circumvent flapping firewall health checks. (#41942, @csbell)
- ScaleIO Kubernetes Volume Plugin added enabling pods to seamlessly access and use data stored on ScaleIO volumes. (#38924, @vladimirvivien)
- Pods are launched in a separate cgroup hierarchy than system services. (#42350, @vishh)
- Experimental support to reserve a pod's memory request from being utilized by pods in lower QoS tiers. (#41149, @sjenning)
- Juju: Disable anonymous auth on kubelet (#41919, @Cynerva)
- Remove support for debian masters in GCE kube-up. (#41666, @mikedanese)
- Implement bulk polling of volumes (#41306, @gnufied)
- stop kubectl edit from updating the last-applied-configuration annotation when --save-config is unspecified or false. (#41924, @ymqytw)
v1.5.4
Documentation & Examples
Downloads for v1.5.4
filename |
sha256 hash |
kubernetes.tar.gz |
2ff668c687c1bdf8351dcae102901b1d46cc50e446bde08a244c2e65739de4c3 |
kubernetes-src.tar.gz |
172d33787ec2d11345d152becdc96982d3057ed16426910302c1b103980b634b |
Client Binaries
Server Binaries
Changelog since v1.5.3
Other notable changes
- Fix AWS device allocator to only use valid device names (#41455, @gnufied)
- The kube-apiserver basic audit log can be enabled in GCE by exporting the environment variable
ENABLE_APISERVER_BASIC_AUDIT=true
before running cluster/kube-up.sh
. This will log to /var/log/kube-apiserver-audit.log
and use the same logrotate
settings as /var/log/kube-apiserver.log
. (#41211, @enisoc)
- list-resources: don't fail if the grep fails to match any resources (#41933, @ixdy)
- Bump GCE ContainerVM to container-vm-v20170214 to address CVE-2016-9962. (#41449, @zmerlynn)
v1.6.0-beta.1
Documentation & Examples
Downloads for v1.6.0-beta.1
filename |
sha256 hash |
kubernetes.tar.gz |
ca17c4f1ebdd4bbbd0e570bf3a29d52be1e962742155bc5e20765434f3141f2d |
kubernetes-src.tar.gz |
4aefc25b42594f0aab48e43608c8ef6eca8c115022fcc76a9a0d34430e33be0f |
Client Binaries
Server Binaries
Changelog since v1.6.0-alpha.3
Action Required
- The --dns-provider argument of 'kubefed init' is now mandatory and does not default to
google-clouddns
. To initialize a Federation control plane with Google Cloud DNS, use the following invocation: 'kubefed init --dns-provider=google-clouddns' (#42092, @marun)
- Change taints/tolerations to api fields (#38957, @aveshagarwal)
Other notable changes
- kubeadm: Rename some flags for beta UI and fixup some logic (#42064, @luxas)
- StorageClassName attribute has been added to PersistentVolume and PersistentVolumeClaim objects and should be used instead of annotation
volume.beta.kubernetes.io/storage-class
. The beta annotation is still working in this release, however it will be removed in a future release. (#42128, @jsafrane)
- Remove Azure kube-up as the Azure community has focused efforts elsewhere. (#41672, @mikedanese)
- Fluentd-gcp containers spawned by DaemonSet are now configured using ConfigMap (#42126, @Crassirostris)
- Modified kubemark startup scripts to restore master on reboot (#41980, @shyamjvs)
- Added new Api
PodPreset
to enable defining cross-cutting injection of Volumes and Environment into Pods. (#41931, @jessfraz)
- AWS cloud provider: allow to run the master with a different AWS account or even on a different cloud provider than the nodes. (#39996, @scheeles)
- Update defaultbackend image to 1.3 (#42212, @timstclair)
- Allow the Horizontal Pod Autoscaler controller to talk to the metrics API and custom metrics API as standard APIs. (#41824, @DirectXMan12)
- Implement support for mount options in PVs (#41906, @gnufied)
- Introduce apps/v1beta1.Deployments resource with modified defaults compared to extensions/v1beta1.Deployments. (#39683, @soltysh)
- Add DNS suffix search list support in Windows kube-proxy. (#41618, @JiangtianLi)
--experimental-nvidia-gpus
flag is replaced by Accelerators
alpha feature gate along with support for multiple Nvidia GPUs. (#42116, @vishh)
- To use GPUs, pass
Accelerators=true
as part of --feature-gates
flag.
- Works only with Docker runtime.
- Clean up the kube-proxy container image by removing unnecessary packages and files. (#42090, @timstclair)
- AWS: Support shared tag
kubernetes.io/cluster/<clusterid>
(#41695, @justinsb)
- Insecure access to the API Server at localhost:8080 will be turned off in v1.6 when using kubeadm (#42066, @luxas)
- AWS: Do not consider master instance zones for dynamic volume creation (#41702, @justinsb)
- Added foreground garbage collection: the owner object will not be deleted until all its dependents are deleted by the garbage collector. Please checkout the user doc for details. (#38676, @caesarxuchao)
- deleteOptions.orphanDependents is going to be deprecated in 1.7. Please use deleteOptions.propagationPolicy instead.
- force unlock rbd image if the image is not used (#41597, @rootfs)
- The kubernetes-master, kubernetes-worker and kubeapi-load-balancer charms have gained an nrpe-external-master relation, allowing the integration of their monitoring in an external Nagios server. (#41923, @Cynerva)
- make kubectl describe pod show tolerationSeconds (#42162, @kevin-wangzefeng)
- Completed pods should not be hidden when requested by name via
kubectl get
. (#42216, @smarterclayton)
- [Federation][Kubefed] Flag cleanup (#41335, @irfanurrehman)
- Add the support to the scheduler for spreading pods of StatefulSets. (#41708, @bsalamat)
- Portworx Volume Plugin added enabling Portworx to be used as a storage provider for Kubernetes clusters. Portworx pools your servers capacity and turns your servers or cloud instances into converged, highly available compute and storage nodes. (#39535, @adityadani)
- Remove support for trusty in GCE kube-up. (#41670, @mikedanese)
- Import a natural sorting library and use it in the sorting printer. (#40746, @matthyx)
- Parameter keys in a StorageClass
parameters
map may not use the kubernetes.io
or k8s.io
namespaces. (#41837, @liggitt)
- Make DaemonSet respect critical pods annotation when scheduling. (#42028, @janetkuo)
- New Kubelet flag
--enforce-node-allocatable
with a default value of pods
is added which will make kubelet create a top level cgroup for all pods to enforce Node Allocatable. Optionally, system-reserved
& kube-reserved
values can also be specified separated by comma to enforce node allocatable on cgroups specified via --system-reserved-cgroup
& --kube-reserved-cgroup
respectively. Note the default value of the latter flags are "". (#41234, @vishh)
- This feature requires a Node Drain prior to upgrade failing which pods will be restarted if possible or terminated if they have a
RestartNever
policy.
- Deployment of AWS Kubernetes clusters using the in-tree bash deployment (i.e. cluster/kube-up.sh or get-kube.sh) is obsolete. v1.5.x will be the last release to support cluster/kube-up.sh with AWS. For a list of viable alternatives, see: http://kubernetes.io/docs/getting-started-guides/aws/ (#42196, @zmerlynn)
- kubectl logs allows getting logs directly from deployment, job and statefulset (#40927, @soltysh)
- make kubectl taint command respect effect NoExecute (#42120, @kevin-wangzefeng)
- Flex volume plugin is updated to support attach/detach interfaces. It broke backward compatibility. Please update your drivers and implement the new callouts. (#41804, @chakri-nelluri)
- Implement the update feature for DaemonSet. (#41116, @lukaszo)
- [Federation] Create configmap for the cluster kube-dns when cluster joins and remove when it unjoins (#39338, @irfanurrehman)
- New GKE certificates controller. (#41160, @pipejakob)
- Juju: Fix shebangs in charm actions to use python3 (#42058, @Cynerva)
- Support kubectl apply set-last-applied command to update the applied-applied-configuration annotation (#41694, @shiywang)
- On GCI by default logrotate is disabled for application containers in favor of rotation mechanism provided by docker logging driver. (#40634, @Crassirostris)
- Cleanup fluentd-gcp image: rebase on debian-base, switch to upstream packages, remove fluent-ui & rails (#41998, @timstclair)
- Updating apiserver to return http status code 202 for a delete request when the resource is not immediately deleted because of user requesting cascading deletion using DeleteOptions.OrphanDependents=false. (#41165, @nikhiljindal)
- [Federation][kubefed] Support configuring dns-provider (#40528, @shashidharatd)
- Added support to minimize sending verbose node information to scheduler extender by sending only node names and expecting extenders to cache the rest of the node information (#41119, @sarat-k)
- Guaranteed admission for Critical Pods (#40952, @dashpole)
- Switch to the
node-role.kubernetes.io/master
label for marking and tainting the master node in kubeadm (#41835, @luxas)
- Allow drain --force to remove pods whose managing resource is deleted. (#41864, @marun)
- add kubectl can-i to see if you can perform an action (#41077, @deads2k)
- enable DefaultTolerationSeconds admission controller by default (#41815, @kevin-wangzefeng)
- Make DaemonSets survive taint-based evictions when nodes turn unreachable/notReady. (#41896, @kevin-wangzefeng)
- Add configurable limits to CronJob resource to specify how many successful and failed jobs are preserved. (#40932, @peay)
- Deprecate outofdisk-transition-frequency and low-diskspace-threshold-mb flags (#41941, @dashpole)
- Add OWNERS for sample-apiserver in staging (#42094, @sttts)
- Update gcr.io/google-containers/rescheduler to v0.2.2, which uses busybox as a base image instead of ubuntu. (#41911, @ixdy)
- Add storage.k8s.io/v1 API (#40088, @jsafrane)
- Juju - K8s master charm now properly keeps distributed master files in sync for an HA control plane. (#41351, @chuckbutler)
- Fix zsh completion: unknown file attribute error (#38104, @elipapa)
- kubelet config should ignore file start with dots (#39196, @resouer)
- Add an alpha feature that makes NodeController set Taints instead of deleting Pods from not Ready Nodes. (#41133, @gmarek)
- Base etcd-empty-dir-cleanup on busybox, run as nobody, and update to etcdctl 3.0.14 (#41674, @ixdy)
- Fix zone placement heuristics so that multiple mounts in a StatefulSet pod are created in the same zone (#40910, @justinsb)
- Flag --use-kubernetes-version for kubeadm init renamed to --kubernetes-version (#41820, @kad)
kube-dns
now runs using a separate system:serviceaccount:kube-system:kube-dns
service account which is automatically bound to the correct RBAC permissions. (#38816, @deads2k)
- [Kubemark] Fixed hollow-npd container command to log to file (#41858, @shyamjvs)
- kubeadm: Remove the --cloud-provider flag for beta init UX (#41710, @luxas)
- The CertificateSigningRequest API added the
extra
field to persist all information about the requesting user. This mirrors the fields in the SubjectAccessReview API used to check authorization. (#41755, @liggitt)
- Upgrade golang versions to 1.7.5 (#41771, @cblecker)
- Added a new secret type "bootstrap.kubernetes.io/token" for dynamically creating TLS bootstrapping bearer tokens. (#41281, @ericchiang)
- Remove unnecessary metrics (http/process/go) from being exposed by etcd-version-monitor (#41807, @shyamjvs)
- Added
kubectl create clusterrole
command. (#41538, @xingzhou)
- Support new kubectl apply view-last-applied command for viewing the last configuration file applied (#41146, @shiywang)
- Bump GCI to gci-stable-56-9000-84-2 (#41819, @dchen1107)
- list-resources: don't fail if the grep fails to match any resources (#41933, @ixdy)
- client-go no longer imports GCP OAuth2 and OpenID Connect packages by default. (#41532, @ericchiang)
- Each pod has its own associated cgroup by default. (#41349, @derekwaynecarr)
- Whitelist kubemark in node_ssh_supported_providers for log dump (#41800, @shyamjvs)
- Support KUBE_MAX_PD_VOLS on Azure (#41398, @codablock)
- Projected volume plugin (#37237, @jpeeler)
--output-version
is ignored for all commands except kubectl convert
. This is consistent with the generic nature of kubectl
CRUD commands and the previous removal of --api-version
. Specific versions can be specified in the resource field: resource.version.group
, jobs.v1.batch
. (#41576, @deads2k)
- Added bool type support for jsonpath. (#39063, @xingzhou)
- Nodes can now report two additional address types in their status: InternalDNS and ExternalDNS. The apiserver can use
--kubelet-preferred-address-types
to give priority to the type of address it uses to reach nodes. (#34259, @liggitt)
- Clients now use the
?watch=true
parameter to make watch API calls, instead of the /watch/
path prefix (#41722, @liggitt)
- ResourceQuota ability to support default limited resources (#36765, @derekwaynecarr)
- Fix kubemark default e2e test suite's name (#41751, @shyamjvs)
- federation aws: add logging of route53 calls (#39964, @justinsb)
- Fix ConfigMap for Windows Containers. (#39373, @jbhurat)
- add defaultTolerationSeconds admission controller (#41414, @kevin-wangzefeng)
- Node Problem Detector is beta now. New features added: journald support, standalone mode and arbitrary system log monitoring. (#40206, @Random-Liu)
- Fix the output of health-mointor.sh (#41525, @yujuhong)
- kubectl describe no longer prints the last-applied-configuration annotation for secrets. (#34664, @ymqytw)
- Report node not ready on failed PLEG health check (#41569, @yujuhong)
- Delay Deletion of a Pod until volumes are cleaned up (#41456, @dashpole)
- Alpha version of dynamic volume provisioning is removed in this release. Annotation (#40000, @jsafrane)
- An
automountServiceAccountToken *bool
field was added to ServiceAccount and PodSpec objects. If set to false
on a pod spec, no service account token is automounted in the pod. If set to false
on a service account, no service account token is automounted for that service account unless explicitly overridden in the pod spec. (#37953, @liggitt)
- Bump addon-manager version to v6.4-alpha.1 in kubemark (#41506, @shyamjvs)
- Do not daemonize
salt-minion
for the openstack-heat provider. (#40722, @micmro)
- Move private key parsing from serviceaccount/jwt.go to client-go/util/cert (#40907, @cblecker)
- Added configurable etcd initial-cluster-state to kube-up script. (#41332, @jszczepkowski)
v1.6.0-alpha.3
Documentation & Examples
Downloads for v1.6.0-alpha.3
filename |
sha256 hash |
kubernetes.tar.gz |
41b5e9edd973cbb8e68eb5d8d758c4f0afa11dfbd65df49e1c361206706a974c |
kubernetes-src.tar.gz |
ec13e22322c85752918c23b0b498ba02087a1227b8fdc169f19acdf128f907c4 |
Client Binaries
Server Binaries
Changelog since v1.6.0-alpha.2
Other notable changes
- Fix AWS device allocator to only use valid device names (#41455, @gnufied)
- [Federation][Kubefed] Bug fix relating kubeconfig path in kubefed init (#41410, @irfanurrehman)
- The apiserver audit log (
/var/log/kube-apiserver-audit.log
) will be sent through fluentd if enabled. (#41360, @enisoc)
- Bump GCE ContainerVM to container-vm-v20170214 to address CVE-2016-9962. (#41449, @zmerlynn)
- Fixed issues #39202, #41041 and #40941 that caused the iSCSI connections to be prematurely closed when deleting a pod with an iSCSI persistent volume attached and that prevented the use of newly created LUNs on targets with preestablished connections. (#41196, @CristianPop)
- The kube-apiserver basic audit log can be enabled in GCE by exporting the environment variable
ENABLE_APISERVER_BASIC_AUDIT=true
before running cluster/kube-up.sh
. This will log to /var/log/kube-apiserver-audit.log
and use the same logrotate
settings as /var/log/kube-apiserver.log
. (#41211, @enisoc)
- On kube-up.sh clusters on GCE, kube-scheduler now contacts the API on the secured port. (#41285, @liggitt)
- Default RBAC ClusterRole and ClusterRoleBinding objects are automatically updated at server start to add missing permissions and subjects (extra permissions and subjects are left in place). To prevent autoupdating a particular role or rolebinding, annotate it with
rbac.authorization.kubernetes.io/autoupdate=false
. (#41155, @liggitt)
- Make EnableCRI default to true (#41378, @yujuhong)
kubectl edit
now edits objects exactly as they were retrieved from the API. This allows using kubectl edit
with third-party resources and extension API servers. Because client-side conversion is no longer done, the --output-version
option is deprecated for kubectl edit
. To edit using a particular API version, fully-qualify the resource, version, and group used to fetch the object (for example, job.v1.batch/myjob
) (#41304, @liggitt)
- We change the default attach_detach_controller sync period to 1 minute to reduce the query frequency through cloud provider to check whether volumes are attached or not. (#41363, @jingxu97)
- RBAC
v1beta1
RoleBinding/ClusterRoleBinding subjects changed apiVersion
to apiGroup
to fully-qualify a subject. ServiceAccount subjects default to an apiGroup of ""
, User and Group subjects default to an apiGroup of "rbac.authorization.k8s.io"
. (#41184, @liggitt)
- Add support for finalizers in federated configmaps (deletes configmaps from underlying clusters). (#40464, @csbell)
- Make DaemonSet controller respect node taints and pod tolerations. (#41172, @janetkuo)
- Added kubectl create role command (#39852, @xingzhou)
- If
experimentalCriticalPodAnnotation
feature gate is set to true, fluentd pods will not be evicted by the kubelet. (#41035, @vishh)
v1.4.9
Documentation & Examples
Downloads for v1.4.9
filename |
sha256 hash |
kubernetes.tar.gz |
9d385d555073c7cf509a92ce3aa96d0414a93c21c51bcf020744c70b4b290aa2 |
kubernetes-src.tar.gz |
6fd7d33775356f0245d06b401ac74d8227a92abd07cc5a0ef362bac16e01f011 |
Client Binaries
Server Binaries
Changelog since v1.4.8
Other notable changes
- Bump GCE ContainerVM to container-vm-v20170201 to address CVE-2016-9962. (#40828, @zmerlynn)
- Bump GCI to gci-beta-56-9000-80-0 (#41027, @dchen1107)
- Fix for detach volume when node is not present/ powered off (#40118, @BaluDontu)
- Bump GCI to gci-beta-56-9000-80-0 (#41027, @dchen1107)
- Move b.gcr.io/k8s_authenticated_test to gcr.io/k8s-authenticated-test (#40335, @zmerlynn)
- Prep node_e2e for GCI to COS name change (#41088, @jessfraz)
- If ExperimentalCriticalPodAnnotation=True flag gate is set, kubelet will ensure that pods with
scheduler.alpha.kubernetes.io/critical-pod
annotation will be admitted even under resource pressure, will not be evicted, and are reasonably protected from system OOMs. (#41052, @vishh)
- Fix resync goroutine leak in ListAndWatch (#35672, @tatsuhiro-t)
- Kubelet will no longer set hairpin mode on every interface on the machine when an error occurs in setting up hairpin for a specific interface. (#36990, @bboreham)
- Bump GCE ContainerVM to container-vm-v20170201 to address CVE-2016-9962. (#40828, @zmerlynn)
- Adding vmdk file extension for vmDiskPath in vsphere DeleteVolume (#40538, @divyenpatel)
- Prevent hotloops on error conditions, which could fill up the disk faster than log rotation can free space. (#40497, @lavalamp)
- Update GCE ContainerVM deployment to container-vm-v20170117 to pick up CVE fixes in base image. (#40094, @zmerlynn)
- Update kube-proxy image to be based off of Debian 8.6 base image. (#39695, @ixdy)
- Update amd64 kube-proxy base image to debian-iptables-amd64:v5 (#39725, @ixdy)
v1.5.3
Documentation & Examples
Downloads for v1.5.3
filename |
sha256 hash |
kubernetes.tar.gz |
a4d997be9e3ac0f9838a58fb80d08c2ab02e00afb9d16d3db18d99c85b88b316 |
kubernetes-src.tar.gz |
a23636ee40a60c1bb3255a03177f522c28133f74c6d09a5437f6b56b7e1d5296 |
Client Binaries
Server Binaries
Node Binaries
Changelog since v1.5.2
Other notable changes
- We change the default attach_detach_controller sync period to 1 minute to reduce the query frequency through cloud provider to check whether volumes are attached or not. (#41363, @jingxu97)
- Added configurable etcd initial-cluster-state to kube-up script (#41320, @jszczepkowski)
- If ExperimentalCriticalPodAnnotation=True flag gate is set, kubelet will ensure that pods with
scheduler.alpha.kubernetes.io/critical-pod
annotation will be admitted even under resource pressure, will not be evicted, and are reasonably protected from system OOMs. (#41052, @vishh)
- Reverts to looking up the current VM in vSphere using the machine's UUID, either obtained via sysfs or via the
vm-uuid
parameter in the cloud configuration file. (#40892, @robdaemon)
- Fix for detach volume when node is not present/ powered off (#40118, @BaluDontu)
- Move b.gcr.io/k8s_authenticated_test to gcr.io/k8s-authenticated-test (#40335, @zmerlynn)
- Bump up GLBC version from 0.9.0-beta to 0.9.1 (#41037, @bprashanth)
- azure: fix Azure Container Registry integration (#40142, @colemickens)
- azure disk: restrict name length for Azure specifications (#40030, @colemickens)
- Bump GCI to gci-beta-56-9000-80-0 (#41027, @dchen1107)
- Bump up glbc version to 0.9.0-beta.1 (#40565, @bprashanth)
- Enable lazy inode table and journal initialization for ext3 and ext4 (#38865, @codablock)
- Kubelet will no longer set hairpin mode on every interface on the machine when an error occurs in setting up hairpin for a specific interface. (#36990, @bboreham)
- The SubjectAccessReview API passes subresource and resource name information to the authorizer to answer authorization queries. (#40935, @liggitt)
- Bump GCE ContainerVM to container-vm-v20170201 to address CVE-2016-9962. (#40828, @zmerlynn)
- Reduce time needed to attach Azure disks (#40066, @codablock)
- Fixes request header authenticator by presenting the request header client CA so that the front proxy will authenticate using its client certificate. (#40301, @deads2k)
- Fix failing load balancers in Azure (#40405, @codablock)
- Add a KUBERNETES_NODE_* section to build kubelet/kube-proxy for windows (#38919, @brendandburns)
- Update GCE ContainerVM deployment to container-vm-v20170117 to pick up CVE fixes in base image. (#40094, @zmerlynn)
- Adding vmdk file extension for vmDiskPath in vsphere DeleteVolume (#40538, @divyenpatel)
- AWS: Remove duplicate calls to DescribeInstance during volume operations (#39842, @gnufied)
- Caching added to the OIDC client auth plugin to fix races and reduce the time kubectl commands using this plugin take by several seconds. (#38167, @ericchiang)
- Actually fix local-cluster-up on 1.5 branch (#40501, @lavalamp)
- Prevent hotloops on error conditions, which could fill up the disk faster than log rotation can free space. (#40497, @lavalamp)
- Fix issue with PodDisruptionBudgets in which
minAvailable
specified as a percentage did not work with StatefulSet Pods. (#39454, @foxish)
- Fix panic in vSphere cloud provider (#38423, @BaluDontu)
- Allow missing keys in templates by default (#39486, @ncdc)
- Fix kubectl get -f -o so it prints all items in the file (#39038, @ncdc)
- Endpoints, that tolerate unready Pods, are now listing Pods in state Terminating as well (#37093, @simonswine)
- Add path exist check in getPodVolumePathListFromDisk (#38909, @jingxu97)
- Ensure the GCI metadata files do not have newline at the end (#38727, @Amey-D)
- AWS: recognize eu-west-2 region (#38746, @justinsb)
- Fix space issue in volumePath with vSphere Cloud Provider (#38338, @BaluDontu)
- Fix issue when attempting to unmount a wrong vSphere volume (#37413, @BaluDontu)
- Changed default scsi controller type in vSphere Cloud Provider (#38426, @abrarshivani)
- Fixes API compatibility issue with empty lists incorrectly returning a null
items
field instead of an empty array. (#39834, @liggitt)
- AWS: Add sequential allocator for device names. (#38818, @jsafrane)
- Fix fsGroup to vSphere (#38655, @abrarshivani)
v1.6.0-alpha.2
Documentation & Examples
Downloads for v1.6.0-alpha.2
filename |
sha256 hash |
kubernetes.tar.gz |
d1a5c7bc435c0f58dca9eab54e8155b6e4797d4b5d6b0cb8feab968dd3132165 |
kubernetes-src.tar.gz |
8d09b973f3debfe3d10b0ad392e56141446bc0d04aac60df6d761189997d97ed |
Client Binaries
Server Binaries
Changelog since v1.6.0-alpha.1
Other notable changes
- Align the hyperkube image to support running binaries at /usr/local/bin/ like the other server images (#41017, @luxas)
- Native support for token based bootstrap flow. This includes signing a well known ConfigMap in the
kube-public
namespace and cleaning out expired tokens. (#36101, @jbeda)
- Reverts to looking up the current VM in vSphere using the machine's UUID, either obtained via sysfs or via the
vm-uuid
parameter in the cloud configuration file. (#40892, @robdaemon)
- This PR adds a manager to NodeController that is responsible for removing Pods from Nodes tainted with NoExecute Taints. This feature is beta (as the rest of taints) and enabled by default. It's gated by controller-manager enable-taint-manager flag. (#40355, @gmarek)
- The authentication.k8s.io API group was promoted to v1 (#41058, @liggitt)
- Fixes issue #38418 which, under circumstance, could cause StatefulSet to deadlock. (#40838, @kow3ns)
- Mediates issue #36859. StatefulSet only acts on Pods whose identity matches the StatefulSet, providing a partial mediation for overlapping controllers.
- Introduces an new alpha version of the Horizontal Pod Autoscaler including expanded support for specifying metrics. (#36033, @DirectXMan12)
- Set all node conditions to Unknown when node is unreachable (#36592, @andrewsykim)
- [Federation] Add override flags options to kubefed init (#40917, @irfanurrehman)
- Fix for detach volume when node is not present/ powered off (#40118, @BaluDontu)
- Bump up GLBC version from 0.9.0-beta to 0.9.1 (#41037, @bprashanth)
- The deprecated flags --config, --auth-path, --resource-container, and --system-container were removed. (#40048, @mtaufen)
- Add
kubectl attach
support for multiple types (#40365, @shiywang)
- [Kubelet] Delay deletion of pod from the API server until volumes are deleted (#41095, @dashpole)
- remove the create-external-load-balancer flag in cmd/expose.go (#38183, @tianshapjq)
- The authorization.k8s.io API group was promoted to v1 (#40709, @liggitt)
- Bump GCI to gci-beta-56-9000-80-0 (#41027, @dchen1107)
- [Federation][kubefed] Add option to expose federation apiserver on nodeport service (#40516, @shashidharatd)
- Rename --experiemental-cgroups-per-qos to --cgroups-per-qos (#39972, @derekwaynecarr)
- PV E2E: provide each spec with a fresh nfs host (#40879, @copejon)
- Remove the temporary fix for pre-1.0 mirror pods (#40877, @yujuhong)
- fix --save-config in create subcommand (#40289, @xilabao)
- We should mention the caveats of in-place upgrade in release note. (#40727, @Random-Liu)
- The SubjectAccessReview API passes subresource and resource name information to the authorizer to answer authorization queries. (#40935, @liggitt)
- When feature gate "ExperimentalCriticalPodAnnotation" is set, Kubelet will avoid evicting pods in "kube-system" namespace that contains a special annotation -
scheduler.alpha.kubernetes.io/critical-pod
(#40655, @vishh)
- make tolerations respect wildcard key (#39914, @kevin-wangzefeng)
- [Federation][kubefed] Add option to disable persistence storage for etcd (#40862, @shashidharatd)
- Init containers have graduated to GA and now appear as a field. The beta annotation value will still be respected and overrides the field value. (#38382, @hodovska)
- apply falls back to generic 3-way JSON merge patch if no go struct is registered for the target GVK (#40666, @ymqytw)
- HorizontalPodAutoscaler is no longer supported in extensions/v1beta1 version. Use autoscaling/v1 instead. (#35782, @piosz)
- Port forwarding can forward over websockets or SPDY. (#33684, @fraenkel)
- Improve kubectl describe node output by adding closing paren (#39217, @luksa)
- Bump GCE ContainerVM to container-vm-v20170201 to address CVE-2016-9962. (#40828, @zmerlynn)
- Use full package path for definition name in OpenAPI spec (#40124, @mbohlool)
- kubectl apply now supports explicitly clearing values not present in the config by setting them to null (#40630, @liggitt)
- Fixed an issue where 'kubectl get --sort-by=' would return an error when the specified field were not present in at least one of the returned objects, even that being a valid field in the object model. (#40541, @fabianofranz)
- Add initial french translations for kubectl (#40645, @brendandburns)
- OpenStack-Heat will now look for an image named "CentOS-7-x86_64-GenericCloud-1604". To restore the previous behavior set OPENSTACK_IMAGE_NAME="CentOS7" (#40368, @sc68cal)
- Preventing nil pointer reference in client_config (#40508, @vjsamuel)
- The bash AWS deployment via kube-up.sh has been deprecated. See http://kubernetes.io/docs/getting-started-guides/aws/ for alternatives. (#38772, @zmerlynn)
- Fix failing load balancers in Azure (#40405, @codablock)
- kubefed init creates a service account for federation controller manager in the federation-system namespace and binds that service account to the federation-system:federation-controller-manager role that has read and list access on secrets in the federation-system namespace. (#40392, @madhusudancs)
- Fixed an SELinux issue in kubeadm on Docker 1.12+ by moving etcd SELinux options from container to pod. (#40682, @dgoodwin)
- Juju kubernetes-master charm: improve status messages (#40691, @Cynerva)
v1.6.0-alpha.1
Documentation & Examples
Downloads for v1.6.0-alpha.1
filename |
sha256 hash |
kubernetes.tar.gz |
abda73bc2a27ae16c66a5aea9e96cd59486ed8cf994afc55da35a3cea2edc1db |
kubernetes-src.tar.gz |
b429579ba83f9a3fa80e72ceb65b046659b17f16a0b7f70105e7096a441f32b9 |
Client Binaries
Server Binaries
Changelog since v1.5.0
Action Required
- Promote certificates.k8s.io to beta and enable it by default. Users using the alpha certificates API should delete v1alpha1 CSRs from the API before upgrading and recreate them as v1beta1 CSR after upgrading. (#39772, @mikedanese)
- Switch default etcd version to 3.0.14. (#36229, @wojtek-t)
- Switch default storage backend flag in apiserver to
etcd3
mode.
- RBAC's special handling of the user
*
in RoleBinding and ClusterRoleBinding objects is deprecated and will be removed in v1beta1. To match all users, explicitly bind to the group system:authenticated
and/or system:unauthenticated
. Existing v1alpha1 bindings to the user *
will be automatically converted to the group system:authenticated
. (#38981, @liggitt)
- The 'endpoints.beta.kubernetes.io/hostnames-map' annotation is no longer supported. Users can use the 'Endpoints.subsets[].addresses[].hostname' field instead. (#39284, @bowei)
federation/deploy/deploy.sh
was an interim solution introduced in Kubernetes v1.4 to simplify the federation control plane deployment experience. Now that we have kubefed
, we are deprecating deploy.sh
scripts. (#38902, @madhusudancs)
- Cluster federation servers have changed the location in etcd where federated services are stored, so existing federated services must be deleted and recreated. Before upgrading, export all federated services from the federation server and delete the services. After upgrading the cluster, recreate the federated services from the exported data. (#37770, @enj)
- etcd2: watching from 0 returns all initial states as ADDED events (#38079, @hongchaodeng)
Other notable changes
- kube-up.sh on GCE now includes the bootstrap admin in the super-user group, and ensures the auth token file is correct on upgrades (#39537, @liggitt)
- genericapiserver: cut off more dependencies – episode 3 (#40426, @sttts)
- Adding vmdk file extension for vmDiskPath in vsphere DeleteVolume (#40538, @divyenpatel)
- Remove outdated net.experimental.kubernetes.io/proxy-mode and net.beta.kubernetes.io/proxy-mode annotations from kube-proxy. (#40585, @cblecker)
- Improve the ARM builds and make hyperkube on ARM working again by upgrading the Go version for ARM to go1.8beta2 (#38926, @luxas)
- Prevent hotloops on error conditions, which could fill up the disk faster than log rotation can free space. (#40497, @lavalamp)
- DaemonSet controller actively kills failed pods (to recreate them) (#40330, @janetkuo)
- forgiveness alpha version api definition (#39469, @kevin-wangzefeng)
- Bump up glbc version to 0.9.0-beta.1 (#40565, @bprashanth)
- Improve formatting of EventSource in kubectl get and kubectl describe (#40073, @matthyx)
- CRI: use more gogoprotobuf plugins (#40397, @yujuhong)
- Adds
shortNames
to the APIResource
from discovery which is a list of recommended shortNames for clients like kubectl
. (#40312, @p0lyn0mial)
- Use existing ABAC policy file when upgrading GCE cluster (#40172, @liggitt)
- Added support for creating HA clusters for centos using kube-up.sh. (#39462, @Shawyeok)
- azure: fix Azure Container Registry integration (#40142, @colemickens)
-
- Splits Juju Charm layers into master/worker roles (#40324, @chuckbutler)
-
- Adds support for 1.5.x series of Kubernetes
-
- Introduces a tactic for keeping templates in sync with upstream eliminating template drift
-
- Adds CNI support to the Juju Charms
-
- Adds durable storage support to the Juju Charms
-
- Introduces an e2e Charm layer for repeatable testing efforts and validation of clusters
- genericapiserver: more dependency cutoffs (#40216, @sttts)
- AWS: trust region if found from AWS metadata (#38880, @justinsb)
- Volumes and environment variables populated from ConfigMap and Secret objects can now tolerate the named source object or specific keys being missing, by adding
optional: true
to the volume or environment variable source specifications. (#39981, @fraenkel)
- kubectl create now accepts the label selector flag for filtering objects to create (#40057, @MrHohn)
- A new field
terminationMessagePolicy
has been added to containers that allows a user to request FallbackToLogsOnError
, which will read from the container's logs to populate the termination message if the user does not write to the termination message log file. The termination message file is now properly readable for end users and has a maximum size (4k bytes) to prevent abuse. Each pod may have up to 12k bytes of termination messages before the contents of each will be truncated. (#39341, @smarterclayton)
- Add a special purpose tool for editing individual fields in a ConfigMap with kubectl (#38445, @brendandburns)
- [Federation] Expose autoscaling apis through federation api server (#38976, @irfanurrehman)
- Powershell script to start kubelet and kube-proxy (#36250, @jbhurat)
- Reduce time needed to attach Azure disks (#40066, @codablock)
- fixing Cassandra shutdown example to avoid data corruption (#39199, @deimosfr)
- kubeadm: add optional self-hosted deployment for apiserver, controller-manager and scheduler. (#40075, @pires)
- kubelet tears down pod volumes on pod termination rather than pod deletion (#37228, @sjenning)
- The default client certificate generated by kube-up now contains the superuser
system:masters
group (#39966, @liggitt)
- CRI: upgrade protobuf to v3 (#39158, @feiskyer)
- Add SIGCHLD handler to pause container (#36853, @verb)
- Populate environment variables from a secrets. (#39446, @fraenkel)
- fluentd config for GKE clusters updated: detect exceptions in container log streams and forward them as one log entry. (#39656, @thomasschickinger)
- Made multi-scheduler graduated to Beta and then v1. (#38871, @k82cn)
- Fixed forming resolver search line for pods: exclude duplicates, obey libc limitations, logging and eventing appropriately. (#29666, @vefimova)
- Add authorization mode to kubeadm (#39846, @andrewrynhard)
- Update dependencies: aws-sdk-go to 1.6.10; also cadvisor (#40095, @dashpole)
- Fixes a bug in the OpenStack-Heat kubernetes provider, in the handling of differences between the Identity v2 and Identity v3 APIs (#40105, @sc68cal)
- Update GCE ContainerVM deployment to container-vm-v20170117 to pick up CVE fixes in base image. (#40094, @zmerlynn)
- AWS: Remove duplicate calls to DescribeInstance during volume operations (#39842, @gnufied)
- The
attributeRestrictions
field has been removed from the PolicyRule type in the rbac.authorization.k8s.io/v1alpha1 API. The field was not used by the RBAC authorizer. (#39625, @deads2k)
- Enable lazy inode table and journal initialization for ext3 and ext4 (#38865, @codablock)
- azure disk: restrict name length for Azure specifications (#40030, @colemickens)
- Follow redirects for streaming requests (exec/attach/port-forward) in the apiserver by default (alpha -> beta). (#40039, @timstclair)
- Use kube-dns:1.11.0 (#39925, @sadlil)
- Anonymous authentication is now automatically disabled if the API server is started with the AlwaysAllow authorizer. (#38706, @deads2k)
- genericapiserver: cut off kube pkg/version dependency (#39943, @sttts)
- genericapiserver: cut off pkg/serviceaccount dependency (#39945, @sttts)
- Move pkg/api/rest into genericapiserver (#39948, @sttts)
- genericapiserver: cut off pkg/apis/extensions and pkg/storage dependencies (#39946, @sttts)
- genericapiserver: cut off certificates api dependency (#39947, @sttts)
- Admission control support for versioned configuration files (#39109, @derekwaynecarr)
- Fix issue around merging lists of primitives when using PATCH or kubectl apply. (#38665, @ymqytw)
- Fixes API compatibility issue with empty lists incorrectly returning a null
items
field instead of an empty array. (#39834, @liggitt)
- [scheduling] Moved pod affinity and anti-affinity from annotations to api fields #25319 (#39478, @rrati)
- PodSecurityPolicy resource is now enabled by default in the extensions API group. (#39743, @pweil-)
- add --controllers to controller manager (#39740, @deads2k)
- proxy/iptables: don't sync proxy rules if services map didn't change (#38996, @dcbw)
- NONE (#39768, @rkouj)
- Update amd64 kube-proxy base image to debian-iptables-amd64:v5 (#39725, @ixdy)
- Update dashboard version to v1.5.1 (#39662, @rf232)
- Fix kubectl get -f -o so it prints all items in the file (#39038, @ncdc)
- Scheduler treats StatefulSet pods as belonging to a single equivalence class. (#39718, @foxish)
- --basic-auth-file supports optionally specifying groups in the fourth column of the file (#39651, @liggitt)
- To create or update an RBAC RoleBinding or ClusterRoleBinding object, a user must: (#39383, @liggitt)
- Be authorized to make the create or update API request
- Be allowed to bind the referenced role, either by already having all of the permissions contained in the referenced role, or by having the
bind
permission on the referenced role.
- Fixes an HPA-related panic due to division-by-zero. (#39694, @DirectXMan12)
- federation: Adding support for DeleteOptions.OrphanDependents for federated services. Setting it to false while deleting a federated service also deletes the corresponding services from all registered clusters. (#36390, @nikhiljindal)
- Update kube-proxy image to be based off of Debian 8.6 base image. (#39695, @ixdy)
- Update FitError as a message component into the PodConditionUpdater. (#39491, @jayunit100)
- rename kubernetes-discovery to kube-aggregator (#39619, @deads2k)
- Allow missing keys in templates by default (#39486, @ncdc)
- Caching added to the OIDC client auth plugin to fix races and reduce the time kubectl commands using this plugin take by several seconds. (#38167, @ericchiang)
- AWS: recognize eu-west-2 region (#38746, @justinsb)
- Provide kubernetes-controller-manager flags to control volume attach/detach reconciler sync. The duration of the syncs can be controlled, and the syncs can be shut off as well. (#39551, @chrislovecnm)
- Generate OpenAPI definition for inlined types (#39466, @mbohlool)
- ShortcutExpander has been extended in a way that it will examine a ha… (#38835, @p0lyn0mial)
- fixes nil dereference when doing a volume type check on persistent volumes (#39493, @sjenning)
- Fix issue with PodDisruptionBudgets in which
minAvailable
specified as a percentage did not work with StatefulSet Pods. (#39454, @foxish)
- fix issue with kubectl proxy so that it will proxy an empty path - e.g. http://localhost:8001 (#39226, @luksa)
- Check if pathExists before performing Unmount (#39311, @rkouj)
- Adding kubectl tests for federation (#38844, @nikhiljindal)
- Fix comment and optimize code (#38084, @tanshanshan)
- When using OIDC authentication and specifying --oidc-username-claim=email, an
"email_verified":true
claim must be returned from the identity provider. (#36087, @ericchiang)
- Allow pods to define multiple environment variables from a whole ConfigMap (#36245, @fraenkel)
- Refactor the certificate and kubeconfig code in the kubeadm binary into two phases (#39280, @luxas)
- Added support for printing in all supported
--output
formats to kubectl create ...
and kubectl apply ...
(#38112, @juanvallejo)
- genericapiserver: extract CA cert from server cert and SNI cert chains (#39022, @sttts)
- Endpoints, that tolerate unready Pods, are now listing Pods in state Terminating as well (#37093, @simonswine)
- DaemonSet ObservedGeneration (#39157, @lukaszo)
- The
--reconcile-cidr
kubelet flag was removed since it had been deprecated since v1.5 (#39322, @luxas)
- Add ready replicas in Deployments (#37959, @kargakis)
- Remove all MAINTAINER statements in Dockerfiles in the codebase as they are deprecated by docker (#38927, @luxas)
- Remove the deprecated vsphere kube-up. (#39140, @kerneltime)
- Kubectl top now also accepts short forms for "node" and "pod" ("no", "po") (#39218, @luksa)
- Remove 'exec' network plugin - use CNI instead (#39254, @freehan)
- Add three more columns to
kubectl get deploy -o wide
output. (#39240, @xingzhou)
- Add path exist check in getPodVolumePathListFromDisk (#38909, @jingxu97)
- Begin paths for internationalization in kubectl (#36802, @brendandburns)
- Fixes an issue where commas were not accepted in --from-literal flags when creating secrets. Passing multiple values separated by a comma in a single --from-literal flag is no longer supported. Please use multiple --from-literal flags to provide multiple values. (#35191, @SamiHiltunen)
- Support loading UTF16 files if a byte-order-mark is present (#39008, @brendandburns)
- Fix fsGroup to vSphere (#38655, @abrarshivani)
- ReplicaSet has onwer ref of the Deployment that created it (#35676, @krmayankk)
- Don't evict static pods (#39059, @bprashanth)
- Fixed a bug where the --server, --token, and --certificate-authority flags were not overriding the related in-cluster configs when provided in a
kubectl
call inside a cluster. (#39006, @fabianofranz)
- Make fluentd pods critical (#39146, @Crassirostris)
- assign -998 as the oom_score_adj for critical pods (e.g. kube-proxy) (#39114, @dchen1107)
- delete continue in monitorNodeStatus (#38798, @NickrenREN)
- add create rolebinding (#38991, @deads2k)
- Add new command "kubectl set selector" (#38966, @kargakis)
- Federation: Add
batch/jobs
API objects to federation-apiserver (#35943, @jianhuiz)
- ABAC policies using
"user":"*"
or "group":"*"
to match all users or groups will only match authenticated requests. To match unauthenticated requests, ABAC policies must explicitly specify "group":"system:unauthenticated"
(#38968, @liggitt)
- To add local registry to libvirt_coreos (#36751, @sdminonne)
- Add a KUBERNETES_NODE_* section to build kubelet/kube-proxy for windows (#38919, @brendandburns)
- Added kubeadm commands to manage bootstrap tokens and the duration they are valid for. (#35805, @dgoodwin)
- AWS: Recognize ca-central-1 region (#38410, @justinsb)
- Unmount operation should not fail if volume is already unmounted (#38547, @rkouj)
- Changed default scsi controller type in vSphere Cloud Provider (#38426, @abrarshivani)
- Move non-generic apiserver code out of the generic packages (#38191, @sttts)
- Remove extensions/v1beta1 Jobs resource, and job/v1beta1 generator. (#38614, @soltysh)
- Admit critical pods in the kubelet (#38836, @bprashanth)
- Use daemonset in docker registry add on (#35582, @surajssd)
- Node affinity has moved from annotations to api fields in the pod spec. Node affinity that is defined in the annotations will be ignored. (#37299, @rrati)
- Since
kubernetes.tar.gz
no longer includes client or server binaries, cluster/kube-{up,down,push}.sh
now automatically download released binaries if they are missing. (#38730, @ixdy)
- genericapiserver: turn APIContainer.SecretRoutes into a real ServeMux (#38826, @sttts)
- Migrated fluentd addon to daemon set (#32088, @piosz)
- AWS: Add sequential allocator for device names. (#38818, @jsafrane)
- Add 'X-Content-Type-Options: nosniff" to some error messages (#37190, @brendandburns)
- Display pod node selectors with kubectl describe. (#36396, @aveshagarwal)
- The main repository does not keep multiple releases of clientsets anymore. Please find previous releases at https://github.com/kubernetes/client-go (#38154, @caesarxuchao)
- Remove a release-note on multiple OpenAPI specs (#38732, @mbohlool)
- genericapiserver: unify swagger and openapi in config (#38690, @sttts)
- fix connection upgrades through kuberentes-discovery (#38724, @deads2k)
- Fixes bug in resolving client-requested API versions (#38533, @DirectXMan12)
- apiserver(s): Replace glog.Fatals with fmt.Errorfs (#38175, @sttts)
- Remove Azure Subnet RouteTable check (#38334, @mogthesprog)
- Ensure the GCI metadata files do not have newline at the end (#38727, @Amey-D)
- Significantly speed-up make (#38700, @sttts)
- add QoS pod status field (#37968, @sjenning)
- Fixed validation of multizone cluster for GCE (#38695, @jszczepkowski)
- Fixed detection of master during creation of multizone nodes cluster by kube-up. (#38617, @jszczepkowski)
- Update CHANGELOG.md to warn about anon auth flag (#38675, @erictune)
- Fixes NotAuthenticated errors that appear in the kubelet and kube-controller-manager due to never logging in to vSphere (#36169, @robdaemon)
- Fix an issue where AWS tear-down leaks an DHCP Option Set. (#38645, @zmerlynn)
- Issue a warning when using
kubectl apply
on a resource lacking the LastAppliedConfig
annotation (#36672, @ymqytw)
- Re-add /healthz/ping handler in genericapiserver (#38603, @sttts)
- Fail kubelet if runtime is unresponsive for 30 seconds (#38527, @derekwaynecarr)
- Add support for Azure Container Registry, update Azure dependencies (#37783, @brendandburns)
- Fix panic in vSphere cloud provider (#38423, @BaluDontu)
- fix broken cluster/centos and enhance the style (#34002, @xiaoping378)
- Ability to quota storage by storage class (#34554, @derekwaynecarr)
- [Part 2] Adding s390x cross-compilation support for gcr.io images in this repo (#36050, @gajju26)
- kubectl run --rm no longer prints "pod xxx deleted" (#38429, @duglin)
- Bump GCE debian image to container-vm-v20161208 (release notes) (#38432, @timstclair)
- Kubelet: Add image cache. (#38375, @Random-Liu)
- Allow a selector when retrieving logs (#32752, @fraenkel)
- Fix unmountDevice issue caused by shared mount in GCI (#38411, @jingxu97)
- [Federation] Implement dry run support in kubefed init (#36447, @irfanurrehman)
- Fix space issue in volumePath with vSphere Cloud Provider (#38338, @BaluDontu)
- [Federation] Make federation etcd PVC size configurable (#36310, @irfanurrehman)
- Allow no ports when exposing headless service (#32811, @fraenkel)
- Wait for the port to be ready before starting (#38260, @fraenkel)
- Add Version to the resource printer for 'get nodes' (#37943, @ailusazh)
- contribute deis/registry-proxy as a replacement for kube-registry-proxy (#35797, @bacongobbler)
- [Part 1] Add support for cross-compiling s390x binaries (#37092, @gajju26)
- kernel memcg notification enabled via experimental flag (#38258, @derekwaynecarr)
- fix permissions when using fsGroup (#37009, @sjenning)
- Pipe get options to storage (#37693, @wojtek-t)
- add a configuration for kubelet to register as a node with taints (#31647, @mikedanese)
- Remove genericapiserver.Options.MasterServiceNamespace (#38186, @sttts)
- The --long-running-request-regexp flag to kube-apiserver is deprecated and will be removed in a future release. Long-running requests are now detected based on specific verbs (watch, proxy) or subresources (proxy, portforward, log, exec, attach). (#38119, @liggitt)
- Better compat with very old iptables (e.g. CentOS 6) (#37594, @thockin)
- Fix GCI mounter issue (#38124, @jingxu97)
- Kubelet will no longer set hairpin mode on every interface on the machine when an error occurs in setting up hairpin for a specific interface. (#36990, @bboreham)
- fix mesos unit tests (#38196, @deads2k)
- Add
--controllers
flag to federation controller manager for enable/disable federation ingress controller (#36643, @kzwang)
- Allow backendpools in Azure Load Balancers which are not owned by cloud provider (#36882, @codablock)
- remove rbac super user (#38121, @deads2k)
- API server have two separate limits for read-only and mutating inflight requests. (#36064, @gmarek)
- check the value of min and max in kubectl (#37789, @yarntime)
- The glusterfs dynamic volume provisioner will now choose a unique GID for new persistent volumes from a range that can be configured in the storage class with the "gidMin" and "gidMax" parameters. The default range is 2000 - 2147483647 (max int32). (#37886, @obnoxxx)
- Add kubectl create poddisruptionbudget command (#36646, @kargakis)
- Set kernel.softlockup_panic =1 based on the flag. (#38001, @dchen1107)
- portfordwardtester: avoid data loss during send+close+exit (#37103, @sttts)
- Enable containerized mounter only for nfs and glusterfs types (#37990, @jingxu97)
- Add flag to enable contention profiling in scheduler. (#37357, @gmarek)
- Add kubernetes-anywhere as a new e2e deployment option (#37019, @pipejakob)
- add create clusterrolebinding command (#37098, @deads2k)
- kubectl create service externalname (#34789, @AdoHe)
- Fix logic error in graceful deletion (#37721, @derekwaynecarr)
- Exit with error if is not the final parameter. (#37723, @mtaufen)
- Fix Service Update on LoadBalancerSourceRanges Field (#37720, @freehan)
- Bug fix. Incoming UDP packets not reach newly deployed services (#32561, @zreigz)
- GCI: Remove /var/lib/docker/network (#37593, @yujuhong)
- configure local-up-cluster.sh to handle auth proxies (#36838, @deads2k)
- Add
clusterid
, an optional parameter to storageclass. (#36437, @humblec)
- local-up-cluster: avoid sudo for control plane (#37443, @sttts)
- Add error message when trying to use clusterrole with namespace in kubectl (#36424, @xilabao)
kube-up.sh
/kube-down.sh
no longer force update gcloud for provider=gce|gke. (#36292, @jlowdermilk)
- Fix issue when attempting to unmount a wrong vSphere volume (#37413, @BaluDontu)
- Fix the equality checks for numeric values in cluster/gce/util.sh. (#37638, @roberthbailey)
- kubelet: don't reject pods without adding them to the pod manager (#37661, @yujuhong)
- Modify GCI mounter to enable NFSv3 (#37582, @jingxu97)
- Fix photon controller plugin to construct with correct PdID (#37167, @luomiao)
- Collect logs for dead kubelets too (#37671, @mtaufen)
- Set Dashboard UI version to v1.5.0 (#37684, @rf232)
- When deleting an object with
--grace-period=0
, the client will begin a graceful deletion and wait until the resource is fully deleted. To force deletion, use the --force
flag. (#37263, @smarterclayton)
- federation service controller: stop deleting services from underlying clusters when federated service is deleted. (#37353, @nikhiljindal)
- Fix nil pointer dereference in test framework (#37583, @mtaufen)
- Kubernetes now automatically installs a StorageClass object when deployed on (#31617, @jsafrane)
- AWS, Google Compute Engine, Google Container Engine, and OpenStack using
- the default kube-up.sh scripts. This StorageClass is marked as default so that
- a PersistentVolumeClaim without a StorageClass annotation now results in
- automatic provisioning of storage (GCE PersistentDisk on Google Cloud, AWS
- EBS on AWS, and Cinder on OpenStack). In previous versions of Kubernetes
- a PersistentVolumeClaim without a StorageClass annotation on these cloud
- platforms would be satisfied by manually-created PersistentVolume objects.
- Administrators can choose to disable this behavior by deleting the automatically
- installed StorageClass API object. Alternatively, administrators may choose to
- keep the automatically installed StorageClass and only disable the defaulting
- behavior by removing the "is-default-class" annotation from the StorageClass
- API object.
- Fix TestServiceAlloc flakes (#37487, @wojtek-t)
- Use gsed on the Mac (#37562, @roberthbailey)
- Try self-repair scheduler cache or panic (#37379, @wojtek-t)
- Fluentd/Elastisearch add-on: correctly parse and index kubernetes labels (#36857, @Shrugs)
- Mention overflows when mistakenly call function FromInt (#36487, @xialonglee)
- Update doc for kubectl apply (#37397, @ymqytw)
- Removes shorthand flag -w from kubectl apply (#37345, @MrHohn)
- Curating Owners: pkg/api (#36525, @apelisse)
- Reduce verbosity of volume reconciler when attaching volumes (#36900, @codablock)
- Federated Ingress Proposal (#29793, @quinton-hoole)
v1.5.2
Documentation & Examples
Downloads for v1.5.2
filename |
sha256 hash |
kubernetes.tar.gz |
67344958325a70348db5c4e35e59f9c3552232cdc34defb8a0a799ed91c671a3 |
kubernetes-src.tar.gz |
93241d0f7b69de71d68384699b225ed8a5439bde03dc154827a2b7a6a343791e |
Client Binaries
Server Binaries
Changelog since v1.5.1
Other notable changes
- Fixes NotAuthenticated errors that appear in the kubelet and kube-controller-manager due to never logging in to vSphere (#36169, @robdaemon)
- Update amd64 kube-proxy base image to debian-iptables-amd64:v5 (#39725, @ixdy)
- Update kube-proxy image to be based off of Debian 8.6 base image. (#39695, @ixdy)
- Fixes an HPA-related panic due to division-by-zero. (#39694, @DirectXMan12)
- Update fluentd-gcp addon to 1.28.1 (#39706, @ixdy)
- Provide kubernetes-controller-manager flags to control volume attach/detach reconciler sync. The duration of the syncs can be controlled, and the syncs can be shut off as well. (#39551, @chrislovecnm)
- AWS: Recognize ca-central-1 region (#38410, @justinsb)
- fix nil dereference when doing a volume type check on persistent volumes (#39529, @sjenning)
- Generate OpenAPI definition for inlined types (#39466, @mbohlool)
- Admit critical pods in the kubelet (#38836, @bprashanth)
- assign -998 as the oom_score_adj for critical pods (e.g. kube-proxy) (#39114, @dchen1107)
- Don't evict static pods (#39059, @bprashanth)
- Fix an issue where AWS tear-down leaks an DHCP Option Set. (#38645, @zmerlynn)
- Give apply the versioned struct that generated from the type defined in the restmapping. (#38982, @ymqytw)
- Add support for Azure Container Registry, update Azure dependencies (#37783, @brendandburns)
- Fixes an issue where
hack/local-up-cluster.sh
would fail on the API server start with (#38898, @deads2k)
- Since
kubernetes.tar.gz
no longer includes client or server binaries, cluster/kube-{up,down,push}.sh
now automatically download released binaries if they are missing. (#38730, @ixdy)
- Fixed validation of multizone cluster for GCE (#38695, @jszczepkowski)
- Fix nil pointer dereference in test framework (#37583, @mtaufen)
- Fixed detection of master during creation of multizone nodes cluster by kube-up. (#38617, @jszczepkowski)
- Kubelet: Add image cache. (#38375, @Random-Liu)
v1.4.8
Documentation & Examples
Downloads for v1.4.8
filename |
sha256 hash |
kubernetes.tar.gz |
888d2e6c5136e8805805498729a1da55cf89addfd28f098e0d2cf3f28697ab5c |
kubernetes-src.tar.gz |
0992c3f4f4cb21011fea32187c909babc1a3806f35cec86aacfe9c3d8bef2485 |
Client Binaries
Server Binaries
Changelog since v1.4.7
Other notable changes
- AWS: recognize eu-west-2 region (#38746, @justinsb)
- Add path exist check in getPodVolumePathListFromDisk (#38909, @jingxu97)
- Update fluentd-gcp addon to 1.21.1/1.25.1. (#39705, @ixdy)
- Admit critical pods in the kubelet (#38836, @bprashanth)
- assign -998 as the oom_score_adj for critical pods (e.g. kube-proxy) (#39114, @dchen1107)
- Don't evict static pods (#39059, @bprashanth)
- Provide kubernetes-controller-manager flags to control volume attach/detach reconciler sync. The duration of the syncs can be controlled, and the syncs can be shut off as well. (#39551, @chrislovecnm)
- AWS: Recognize ca-central-1 region (#38410, @justinsb)
- Add TLS conf for Go1.7 (#38600, @k82cn)
- Fix fsGroup to vSphere (#38655, @abrarshivani)
- Only set sysctls for infra containers (#32383, @sttts)
- fix kubectl taint e2e flake: add retries for removing taint (#33872, @kevin-wangzefeng)
- portfordwardtester: avoid data loss during send+close+exit (#37103, @sttts)
- Wait for the port to be ready before starting (#38260, @fraenkel)
- Ensure the GCI metadata files do not have newline at the end (#38727, @Amey-D)
- Fix nil pointer dereference in test framework (#37583, @mtaufen)
- Kubelet: Add image cache. (#38375, @Random-Liu)
- Collect logs for dead kubelets too (#37671, @mtaufen)
v1.5.1
Documentation & Examples
Downloads for v1.5.1
filename |
sha256 hash |
kubernetes.tar.gz |
adc4f6ec1fc8f97ed19f474ffcc0af2d050f92dc20ecec2799741802019205ec |
kubernetes-src.tar.gz |
27e5009b906b9f233a7be1efcf51140be945446d828c006c171d03fe07e43565 |
Client Binaries
Server Binaries
Changelog since v1.5.0
Other notable changes
Known Issues for v1.5.1
hack/local-up-cluster.sh
script times out waiting for apiserver to answer, see #38847.
To workaround this, modify the script to pass --anonymous-auth=true
to sudo -E "${GO_OUT}/hyperkube" apiserver ...
when starting kube-apiserver
.
v1.5.0
Documentation & Examples
Downloads for v1.5.0
filename |
sha256 hash |
kubernetes.tar.gz |
52b7df98ea05fb3ebbababf1ccb7f6d4e6f4cad00b8d09350f270aa7e3ad7e85 |
kubernetes-src.tar.gz |
fbefb2544667f96045c346cee595b0f315282dfdbd41a8f2d5ccc74054a4078e |
Client Binaries
Server Binaries
Major Themes
- StatefulSets (ex-PetSets)
- StatefulSets are beta now (fixes and stabilization)
- Improved Federation Support
- New command:
kubefed
- DaemonSets
- Deployments
- ConfigMaps
- Simplified Cluster Deployment
- Improvements to
kubeadm
- HA Setup for Master
- Node Robustness and Extensibility
- Windows Server Container support
- CRI for pluggable container runtimes
kubelet
API supports authentication and authorization
Features
Features for this release were tracked via the use of the kubernetes/features issues repo. Each Feature issue is owned by a Special Interest Group from kubernetes/community
- API Machinery
- Apps
- [stable] When replica sets cannot create pods, they will now report detail via the API about the underlying reason (kubernetes/features#120)
- [stable]
kubectl apply
is now able to delete resources you no longer need with --prune
(kubernetes/features#128)
- [beta] Deployments that cannot make progress in rolling out the newest version will now indicate via the API they are blocked (docs) (kubernetes/features#122)
- [beta] StatefulSets allow workloads that require persistent identity or per-instance storage to be created and managed on Kubernetes. (docs) (kubernetes/features#137)
- [beta] In order to preserve safety guarantees the cluster no longer force deletes pods on un-responsive nodes and users are now warned if they try to force delete pods via the CLI. (docs) (kubernetes/features#119)
- Auth
- AWS
- Cluster Lifecycle
- Cluster Ops
- [alpha] Added ability to create/remove clusters w/highly available (replicated) masters on GCE using kube-up/kube-down scripts. (docs) (kubernetes/features#48)
- Federation
- Network
- [stable] Services can reference another service by DNS name, rather than being hosted in pods (kubernetes/features#33)
- [beta] Opt in source ip preservation for Services with Type NodePort or LoadBalancer (docs) (kubernetes/features#27)
- [stable] Enable DNS Horizontal Autoscaling with beta ConfigMap parameters support (docs)
- Node
- [alpha] Added ability to preserve access to host userns when userns remapping is enabled in container runtime (kubernetes/features#127)
- [alpha] Introducing the v1alpha1 CRI API to allow pluggable container runtimes; an experimental docker-CRI integration is ready for testing and feedback. (docs) (kubernetes/features#54)
- [alpha] Kubelet launches container in a per pod cgroup hierarchy based on quality of service tier (kubernetes/features#126)
- [beta] Kubelet integrates with memcg notification API to detect when a hard eviction threshold is crossed (kubernetes/features#125)
- [beta] Introducing the beta version containerized node conformance test gcr.io/google_containers/node-test:0.2 for users to verify node setup. (docs) (kubernetes/features#84)
- Scheduling
- UI
- Windows
Known Issues
Populated via v1.5.0 known issues / FAQ accumulator
- CRI known issues and
limitations
- getDeviceNameFromMount() function doesn't return the volume path correctly when the volume path contains spaces #37712
- Federation alpha features do not have feature gates defined and
are hence enabled by default. This will be fixed in a future release.
#38593
- Federation control plane can be upgraded by updating the image
fields in the
Deployment
specs of the control plane components.
However, federation control plane upgrades were not tested in this
release 38537
Notable Changes to Existing Behavior
-
Node controller no longer force-deletes pods from the api-server. (#35235, @foxish)
- For StatefulSet (previously PetSet), this change means creation of
replacement pods is blocked until old pods are definitely not running
(indicated either by the kubelet returning from partitioned state,
deletion of the Node object, deletion of the instance in the cloud provider,
or force deletion of the pod from the api-server).
This helps prevent "split brain" scenarios in clustered applications by
ensuring that unreachable pods will not be presumed dead unless some
"fencing" operation has provided one of the above indications.
- For all other existing controllers except StatefulSet, this has no effect on
the ability of the controller to replace pods because the controllers do not
reuse pod names (they use generate-name).
- User-written controllers that reuse names of pod objects should evaluate this change.
- When deleting an object with
kubectl delete ... --grace-period=0
, the client will
begin a graceful deletion and wait until the resource is fully deleted. To force
deletion immediately, use the --force
flag. This prevents users from accidentally
allowing two Stateful Set pods to share the same persistent volume which could lead to data
corruption #37263
-
Allow anonymous API server access, decorate authenticated users with system:authenticated group (#32386, @liggitt)
- kube-apiserver learned the '--anonymous-auth' flag, which defaults to true. When enabled, requests to the secure port that are not rejected by other configured authentication methods are treated as anonymous requests, and given a username of 'system:anonymous' and a group of 'system:unauthenticated'.
- Authenticated users are decorated with a 'system:authenticated' group.
- IMPORTANT: See Action Required for important actions related to this change.
-
kubectl get -o jsonpath=... will now throw an error if the path is to a field not present in the json, even if the path is for a field valid for the type. This is a change from the pre-1.5 behavior, which would return the default value for some fields even if they were not present in the json. (#37991, @pwittrock)
-
The strategicmerge patchMergeKey for VolumeMounts was changed from "name" to "mountPath". This was necessary because the name field refers to the name of the Volume, and is not a unique key for the VolumeMount. Multiple VolumeMounts will have the same Volume name if mounting the same volume more than once. The "mountPath" is verified to be unique and can act as the mergekey. (#35071, @pwittrock)
Deprecations
- extensions/v1beta1.Jobs is deprecated, use batch/v1.Job instead (#36355, @soltysh)
- The kubelet --reconcile-cdir flag is deprecated because it has no function anymore. (#35523, @luxas)
- Notice of deprecation for recycler #36760
- The init-container (pod.beta.kubernetes.io/init-containers) annotations used to accept capitalized field names that could be accidently generated by the k8s.io/kubernetes/pkg/api package. Using an upper case field name will now return an error and all users should use the versioned API types from
pkg/api/v1
when serializing from Golang.
Action Required Before Upgrading
- **Important Security-related changes before upgrading
- You MUST set
--anonymous-auth=false
flag on your kube-apiserver unless you are a developer testing this feature and understand it.
If you do not, you risk allowing unauthorized users to access your apiserver.
- You MUST set
--anonymous-auth=false
flag on your federation apiserver unless you are a developer testing this feature and understand it.
If you do not, you risk allowing unauthorized users to access your federation apiserver.
- You do not need to adjust this flag on Kubelet: there was no authorization for the Kubelet APIs in 1.4.
- batch/v2alpha1.ScheduledJob has been renamed, use batch/v2alpha1.CronJob instead (#36021, @soltysh)
- PetSet has been renamed to StatefulSet.
If you have existing PetSets, you must perform extra migration steps both
before and after upgrading to convert them to StatefulSets. (docs) (#35663, @janetkuo)
- If you are upgrading your Cluster Federation components from v1.4.x, please update your
federation-apiserver
and federation-controller-manager
manifests to the new version (#30601, @madhusudancs)
- The deprecated kubelet --configure-cbr0 flag has been removed, and with that the "classic" networking mode as well. If you depend on this mode, please investigate whether the other network plugins
kubenet
or cni
meet your needs. (#34906, @luxas)
- New client-go structure, refer to kubernetes/client-go for versioning policy (#34989, @caesarxuchao)
- The deprecated kube-scheduler --bind-pods-qps and --bind-pods burst flags have been removed, use --kube-api-qps and --kube-api-burst instead (#34471, @timothysc)
- If you used the PodDisruptionBudget feature in 1.4 (i.e. created
PodDisruptionBudget
objects), then BEFORE upgrading from 1.4 to 1.5, you must delete all PodDisruptionBudget
objects (policy/v1alpha1/PodDisruptionBudget
) that you have created. It is not possible to delete these objects after you upgrade, and their presence will prevent you from using the beta PodDisruptionBudget feature in 1.5 (which uses policy/v1beta1/PodDisruptionBudget
). If you have already upgraded, you will need to downgrade the master to 1.4 to delete the policy/v1alpha1/PodDisruptionBudget
objects.
External Dependency Version Information
Continuous integration builds have used the following versions of external dependencies, however, this is not a strong recommendation and users should consult an appropriate installation or upgrade guide before deciding what versions of etcd, docker or rkt to use.
- Docker versions 1.10.3 - 1.12.3
- Docker version 1.11.2 known issues
- Kernel crash with Aufs storage driver on Debian Jessie (#27885
which can be identified by the node problem detector
- Leaked File descriptors (#275)
- Additional memory overhead per container (#21737
- Docker version 1.12.1 has been validated through the Kubernetes docker automated validation framework as has Docker version 1.12.3
- Docker 1.10.3 contains backports provided by RedHat for known issues
- Docker versions as old as may 1.9.1 work with known issues but this is not guaranteed
- rkt version 1.21.0
- etcd version 2.2.1
Changelog since v1.5.0-beta.3
Other notable changes
Previous Releases Included in v1.5.0
v1.4.7
Documentation & Examples
Downloads for v1.4.7
filename |
sha256 hash |
kubernetes.tar.gz |
d193f76e70322010b3e86ac61c7a893175f9e62d37bece87cfd14ea068c8d187 |
kubernetes-src.tar.gz |
7c7ef45e903ed2691c73bb2752805f190b4042ba233a6260f2cdeab7d0ac9bd3 |
Client Binaries
Server Binaries
Changelog since v1.4.6
Other notable changes
- Exit with error if is not the final parameter. (#37723, @mtaufen)
- Fix GCI mounter issue (#38124, @jingxu97)
- Fix space issue in volumePath with vSphere Cloud Provider (#38338, @BaluDontu)
- Fix panic in vSphere cloud provider (#38423, @BaluDontu)
- Changed default scsi controller type in vSphere Cloud Provider (#38426, @abrarshivani)
- Fix unmountDevice issue caused by shared mount in GCI (#38411, @jingxu97)
- Implement CanMount() for gfsMounter for linux (#36686, @rkouj)
- Better messaging for missing volume binaries on host (#36280, @rkouj)
- fix mesos unit tests (#38196, @deads2k)
- Fix Service Update on LoadBalancerSourceRanges Field (#37720, @freehan)
- Include serial port output in GCP log-dump (#37248, @mtaufen)
- Collect installation and configuration service logs for tests (#37401, @mtaufen)
- Use shasum if sha1sum doesn't exist in the path (#37362, @roberthbailey)
- Guard the ready replica checking by server version (#37303, @krousey)
- Fix issue when attempting to unmount a wrong vSphere volume (#37413, @BaluDontu)
- Fix issue in converting AWS volume ID from mount paths (#36840, @jingxu97)
- Correct env var name in configure-helper (#33848, @mtaufen)
- wait until the pods are deleted completely (#34778, @ymqytw)
- AWS: recognize us-east-2 region (#35013, @justinsb)
- Replace controller presence checking logic (#36924, @krousey)
- Fix a bug in scheduler happening after retrying unsuccessful bindings (#37293, @wojtek-t)
- Try self-repair scheduler cache or panic (#37379, @wojtek-t)
- Ignore mirror pods with RestartPolicy == Never in restart tests (#34462, @yujuhong)
- Change image-puller restart policy to OnFailure (#37070, @gmarek)
- Filter out non-RestartAlways mirror pod in restart test. (#37203, @Random-Liu)
- Validate volume spec before returning azure mounter (#37018, @rootfs)
- Networking test rewrite (#31559, @bprashanth)
- Fix the equality checks for numeric values in cluster/gce/util.sh. (#37638, @roberthbailey)
- Use gsed on the Mac (#37562, @roberthbailey)
- Fix TestServiceAlloc flakes (#37487, @wojtek-t)
- Change ScheduledJob POD name suffix from hash to Unix Epoch (#36883, @jakub-d)
- Add support for NFSv4 and GlusterFS in GCI base image (#37336, @jingxu97)
- Use generous limits in the resource usage tracking tests (#36623, @yujuhong)
v1.5.0-beta.3
Documentation & Examples
Downloads for v1.5.0-beta.3
filename |
sha256 hash |
kubernetes.tar.gz |
c2b29b38d29829b7b2591559d0d36495d463de0e18a2611bd1d66f2baea6352c |
kubernetes-src.tar.gz |
0b3327b6f0b024c989aba1e546d50d56fc89ed6df74c09fc55b9f9c4a667b771 |
Client Binaries
Server Binaries
Changelog since v1.5.0-beta.2
Other notable changes
- Better compat with very old iptables (e.g. CentOS 6) (#37594, @thockin)
- fix permissions when using fsGroup (#37009, @sjenning)
- Fix GCI mounter issue (#38124, @jingxu97)
- fix mesos unit tests (#38196, @deads2k)
- Fix Service Update on LoadBalancerSourceRanges Field (#37720, @freehan)
- Fix Service Update on LoadBalancerSourceRanges Field (#37720, @freehan)
- Set kernel.softlockup_panic =1 based on the flag. (#38001, @dchen1107)
- Fix logic error in graceful deletion (#37721, @derekwaynecarr)
- Enable containerized mounter only for nfs and glusterfs types (#37990, @jingxu97)
- GCI: Remove /var/lib/docker/network (#37593, @yujuhong)
- kubelet: don't reject pods without adding them to the pod manager (#37661, @yujuhong)
- Fix photon controller plugin to construct with correct PdID (#37167, @luomiao)
- Fix the equality checks for numeric values in cluster/gce/util.sh. (#37638, @roberthbailey)
- federation service controller: stop deleting services from underlying clusters when federated service is deleted. (#37353, @nikhiljindal)
- Set Dashboard UI version to v1.5.0 (#37684, @rf232)
- When deleting an object with
--grace-period=0
, the client will begin a graceful deletion and wait until the resource is fully deleted. To force deletion, use the --force
flag. (#37263, @smarterclayton)
- Removes shorthand flag -w from kubectl apply (#37345, @MrHohn)
- Update doc for kubectl apply (#37397, @ymqytw)
- Try self-repair scheduler cache or panic (#37379, @wojtek-t)
- Use gsed on the Mac (#37562, @roberthbailey)
- Fix TestServiceAlloc flakes (#37487, @wojtek-t)
v1.5.0-beta.2
Documentation & Examples
Downloads for v1.5.0-beta.2
filename |
sha256 hash |
kubernetes.tar.gz |
4a6cb512dee2312ffe291f4209759309576ca477cf51fb8447b30a7cb2a887ed |
kubernetes-src.tar.gz |
fe71f19b607183da4abf5f537e7ccbe72ac3306b0933ee1f519253c78bf9252f |
Client Binaries
Server Binaries
Changelog since v1.5.0-beta.1
Other notable changes
- Modify GCI mounter to enable NFSv3 (#36610, @jingxu97)
- Third party resources are now deleted when a namespace is deleted. (#35947, @brendandburns)
- kube-dns (#36775, @bowei)
- Added --config-map and --config-map-namespace command line options.
- If --config-map is set, kube-dns will load dynamic configuration from the config map
- referenced by --config-map-namespace, --config-map. The config-map supports
- the following properties: "federations".
- --federations flag is now deprecated. Prefer to set federations via the config-map.
- Federations can be configured by settings the "federations" field to the value currently
- set in the command line.
- Example:
- kind: ConfigMap
- apiVersion: v1
- metadata:
-
name: kube-dns
-
namespace: kube-system
- data:
-
federations: abc=def
- azure: support multiple ipconfigs on a NIC (#36841, @colemickens)
- Fix issue in converting AWS volume ID from mount paths (#36840, @jingxu97)
- fix leaking memory backed volumes of terminated pods (#36779, @sjenning)
- Default logging subsystem's resiliency was greatly improved, fluentd memory consumption and OOM error probability was reduced. (#37021, @Crassirostris)
v1.5.0-beta.1
Documentation & Examples
Downloads for v1.5.0-beta.1
filename |
sha256 hash |
kubernetes.tar.gz |
62c51bcee460794cda30e720c65509b679b51015c62c075e6e735fe29d089e2b |
kubernetes-src.tar.gz |
8c950c7377eb40670d0438ccb68bbeaf1100ed2e919e012bc98479ff07ddd393 |
Client Binaries
Server Binaries
Changelog since v1.5.0-alpha.2
Action Required
Other notable changes
- Federation: allow specification of dns zone by ID (#36336, @justinsb)
- K8s 1.5 keeps container-vm as the default node image on GCE for backwards compatibility reasons. Please beware that container-vm is officially deprecated (supported with security patches only) and you should replace it with GCI if at all possible. You can review the migration guide here for more detail: https://cloud.google.com/container-engine/docs/node-image-migration (#36822, @mtaufen)
- Add a flag allowing contention profiling of the API server (#36756, @gmarek)
- Rename
--cgroups-per-qos
to --experimental-cgroups-per-qos
in Kubelet (#36767, @vishh)
- Implement CanMount() for gfsMounter for linux (#36686, @rkouj)
- Default host user namespace via experimental flag (#31169, @pweil-)
- Use generous limits in the resource usage tracking tests (#36623, @yujuhong)
- Update Dashboard UI version to 1.4.2 (#35895, @rf232)
- Add support for service load balancer source ranges to Azure load balancers. (#36696, @brendandburns)
- gci-dev-56-8977-0-0: (#36681, @mtaufen)
- Fix strategic patch for list of primitive type with merge sementic (#35647, @ymqytw)
- Fix issue in reconstruct volume data when kubelet restarts (#36616, @jingxu97)
- Ensure proper serialization of updates and creates in federation test watcher (#36613, @mwielgus)
- Add support for SourceIP preservation in Azure LBs (#36557, @brendandburns)
- Fix fetching pids running in a cgroup, which caused problems with OOM score adjustments & setting the /system cgroup ("misc" in the summary API). (#36551, @timstclair)
- federation: Adding support for DeleteOptions.OrphanDependents for federated replicasets and deployments. Setting it to false while deleting a federated replicaset or deployment also deletes the corresponding resource from all registered clusters. (#36476, @nikhiljindal)
- kubectl: show node label if defined (#35901, @justinsb)
- Migrates addons from RCs to Deployments (#36008, @MrHohn)
- Avoid setting S_ISGID on files in volumes (#36386, @sjenning)
- federation: Adding support for DeleteOptions.OrphanDependents for federated daemonsets and ingresses. Setting it to false while deleting a federated daemonset or ingress also deletes the corresponding resource from all registered clusters. (#36330, @nikhiljindal)
- Add authz to psp admission (#33080, @pweil-)
- Better messaging for missing volume binaries on host (#36280, @rkouj)
- Add Windows support to kube-proxy (#36079, @jbhurat)
- Support persistent volume usage for kubernetes running on Photon Controller platform (#36133, @luomiao)
- GCI nodes use an external mounter script to mount NFS & GlusterFS storage volumes (#36267, @vishh)
- Add retry to node scheduability marking. (#36211, @brendandburns)
- specify custom ca file to verify the keystone server (#35488, @dixudx)
- AWS: Support default value for ExternalHost (#33568, @justinsb)
- HPA: Consider unready pods separately (#33593, @DirectXMan12)
- Node Conformance Test: Containerize the node e2e test (#31093, @Random-Liu)
- federation: Adding support for DeleteOptions.OrphanDependents for federated secrets. Setting it to false while deleting a federated secret also deletes the corresponding secrets from all registered clusters. (#36296, @nikhiljindal)
- Deploy kube-dns with cluster-proportional-autoscaler (#33239, @MrHohn)
- Adds support for StatefulSets in kubectl drain. (#35483, @ymqytw)
- Switches to use the eviction sub-resource instead of deletion in kubectl drain, if server supports.
- azure: load balancer preserves destination ip address (#36256, @colemickens)
- LegacyHostIP will be deprecated in 1.7. (#36095, @caesarxuchao)
- Fix LBaaS version detection in openstack cloudprovider (#36249, @sjenning)
- Node Conformance Test: Add system verification (#32427, @Random-Liu)
- kubelet bootstrap: start hostNetwork pods before we have PodCIDR (#35526, @justinsb)
- Enable HPA controller based on autoscaling/v1 api group (#36215, @piosz)
- Remove unused WaitForDetach from Detacher interface and plugins (#35629, @kiall)
- Initial work on running windows containers on Kubernetes (#31707, @alexbrand)
- Per Volume Inode Accounting (#35132, @dashpole)
- [AppArmor] Hold bad AppArmor pods in pending rather than rejecting (#35342, @timstclair)
- Federation: separate notion of zone-name & dns-suffix (#35372, @justinsb)
- In order to bypass graceful deletion of pods (to immediately remove the pod from the API) the user must now provide the
--force
flag in addition to --grace-period=0
. This prevents users from accidentally force deleting pods without being aware of the consequences of force deletion. Force deleting pods for resources like StatefulSets can result in multiple pods with the same name having running processes in the cluster, which may lead to data corruption or data inconsistency when using shared storage or common API endpoints. (#35484, @smarterclayton)
- NPD: Add e2e test for NPD v0.2. (#35740, @Random-Liu)
- DELETE requests can now pass in their DeleteOptions as a query parameter or a body parameter, rather than just as a body parameter. (#35806, @bdbauer)
- make using service account credentials from controllers optional (#35970, @deads2k)
- AWS: strong-typing for k8s vs aws volume ids (#35883, @justinsb)
- Controller changes for perma failed deployments (#35691, @kargakis)
- Proxy min sync period (#35334, @timothysc)
- Federated ConfigMap controller (#35635, @mwielgus)
- have basic kubectl crud agnostic of registered types (#36085, @deads2k)
- Fix how we iterate over active jobs when removing them for Replace policy (#36161, @soltysh)
- Adds TCPCloseWaitTimeout option to kube-proxy for sysctl nf_conntrack_tcp_timeout_time_wait (#35919, @bowei)
- Pods that are terminating due to eviction by the nodecontroller (typically due to unresponsive kubelet, or network partition) now surface in
kubectl get
output (#36017, @foxish)
- as being in state "Unknown", along with a longer description in
kubectl describe
output.
- The hostname of the node (as autodetected by the kubelet, specified via --hostname-override, or determined by the cloudprovider) is now recorded as an address of type "Hostname" in the status of the Node API object. The hostname is expected to be resolveable from the apiserver. (#25532, @mkulke)
- [Kubelet] Add alpha support for
--cgroups-per-qos
using the configured --cgroup-driver
. Disabled by default. (#31546, @derekwaynecarr)
- Move Statefulset (previously PetSet) to v1beta1 (#35731, @janetkuo)
- The error handling behavior of
pkg/client/restclient.Result
has changed. Calls to Result.Raw()
will no longer parse the body, although they will still return errors that react to pkg/api/errors.Is*()
as in previous releases. Callers of Get()
and Into()
will continue to receive errors that are parsed from the body if the kind and apiVersion of the body match the Status
object. (#36001, @smarterclayton)
- This more closely aligns rest client as a generic RESTful client, while preserving the special Kube API extended error handling for the
Get
and Into
methods (which most Kube clients use).
- Making the pod.alpha.kubernetes.io/initialized annotation optional in PetSet pods (#35739, @foxish)
- AWS: recognize us-east-2 region (#35013, @justinsb)
- Eviction manager evicts based on inode consumption (#35137, @dashpole)
- SELinux Overhaul (#33663, @pmorie)
- Add SNI support to the apiserver (#35109, @sttts)
- The main kubernetes repository stops hosting archived version of released clients. Please use client-go. (#35928, @caesarxuchao)
- Correct the article in generated documents (#32557, @asalkeld)
- Update PodAntiAffinity to ignore calls to subresources (#35608, @soltysh)
- The apiserver can now select which type of kubelet-reported address to use for apiserver->node communications, using the --kubelet-preferred-address-types flag. (#35497, @liggitt)
- update list of vailable resources (#32687, @jouve)
- Remove stale volumes if endpoint/svc creation fails. (#35285, @humblec)
- add kubectl cp (#34914, @brendandburns)
- Remove Job also from .status.active for Replace strategy (#35420, @soltysh)
- Let release_1_5 clientset include multiple versions of a group (#35471, @caesarxuchao)
- support editing before creating resource (#33250, @ymqytw)
- allow authentication through a front-proxy (#35452, @deads2k)
- On GCI, cleanup kubelet startup (#35319, @vishh)
- Add a retry when reading a file content from a container (#35560, @jingxu97)
- Fix cadvisor_unsupported and the crossbuild (#35817, @luxas)
- [PHASE 1] Opaque integer resource accounting. (#31652, @ConnorDoyle)
- Add sync state loop in master's volume reconciler (#34859, @jingxu97)
- Bump GCE debian image to container-vm-v20161025 (CVE-2016-5195 Dirty… (#35825, @dchen1107)
- GC pod ips (#35572, @bprashanth)
- Stop including arch-specific binaries in kubernetes.tar.gz (#35737, @ixdy)
- Rename PetSet to StatefulSet (#35663, @janetkuo)
- Enable containerized storage plugins mounter on GCI (#35350, @vishh)
- Bump container-vm version in config-test.sh (#35705, @mtaufen)
- Cadvisor root path configuration (#35136, @dashpole)
- ssh pubkey parsing: prevent segfault (#35323, @mikkeloscar)
v1.4.6
Documentation & Examples
Downloads for v1.4.6
filename |
sha256 hash |
kubernetes.tar.gz |
6f8242aa29493e1f824997748419e4a287c28b06ed13f17b1ba94bf07fdfa3be |
kubernetes-src.tar.gz |
a2a2d885d246300b52adb5d7e1471b382c77d90a816618518c2a6e9941208e40 |
Client Binaries
Server Binaries
Changelog since v1.4.5
Other notable changes
gci-beta-55-8872-47-0:
Date: Nov 11, 2016
Kernel: ChromiumOS-4.4
Kubernetes: v1.4.5
Docker: v1.11.2
Changelog (vs 55-8872-18-0)
* Cherry-pick runc PR#608: Eliminate redundant parsing of mountinfo
* Updated kubernetes to v1.4.5
* Fixed a bug in e2fsprogs that caused mke2fs to take a very long time. Upstream fix: http://git.kernel.org/cgit/fs/ext2/e2fsprogs.git/commit/?h=next&id=d33e690fe7a6cbeb51349d9f2c7fb16a6ebec9c2
- Fix fetching pids running in a cgroup, which caused problems with OOM score adjustments & setting the /system cgroup ("misc" in the summary API). (#36614, @timstclair)
- DELETE requests can now pass in their DeleteOptions as a query parameter or a body parameter, rather than just as a body parameter. (#35806, @bdbauer)
- rkt: Convert image name to be a valid acidentifier (#34375, @euank)
- Remove stale volumes if endpoint/svc creation fails. (#35285, @humblec)
- Remove Job also from .status.active for Replace strategy (#35420, @soltysh)
- Update PodAntiAffinity to ignore calls to subresources (#35608, @soltysh)
- Adds TCPCloseWaitTimeout option to kube-proxy for sysctl nf_conntrack_tcp_timeout_time_wait (#35919, @bowei)
- Fix how we iterate over active jobs when removing them for Replace policy (#36161, @soltysh)
- Bump GCI version to latest m55 version in GCE for K8s 1.4 (#36302, @mtaufen)
- Add a check for file size if the reading content returns empty (#33976, @jingxu97)
- Add a retry when reading a file content from a container (#35560, @jingxu97)
- Skip CLOSE_WAIT e2e test if server is 1.4.5 (#36404, @bowei)
- Adds etcd3 changes (#36232, @wojtek-t)
- Adds TCPCloseWaitTimeout option to kube-proxy for sysctl nf_conntrack_tcp_timeout_time_wait (#36099, @bowei)
v1.3.10
Documentation & Examples
Downloads for v1.3.10
filename |
sha256 hash |
kubernetes.tar.gz |
0f61517fbab1feafbe1024da0b88bfe16e61fed7e612285d70e3ecb53ce518cf |
kubernetes-src.tar.gz |
7b1be0dcc12ae1b0cb1928b770c1025755fd0858ce7520907bacda19e5bfa53f |
Client Binaries
Server Binaries
Changelog since v1.3.9
Other notable changes
- gci: decouple from the built-in kubelet version (#31367, @Amey-D)
- Bump GCE debian image to container-vm-v20161025 (CVE-2016-5195 Dirty… (#35825, @dchen1107)
- Add RELEASE_INFRA_PUSH related code to support pushes from kubernetes/release. (#28922, @david-mcmahon)
v1.4.5
Documentation & Examples
Downloads for v1.4.5
filename |
sha256 hash |
kubernetes.tar.gz |
339f4d1c7a374ddb32334268c4af8dae0b86d1567a9c812087d672a7defe233c |
kubernetes-src.tar.gz |
69b1b022400794d491200a9365ea9bf735567348d0299920462cf7167c76ba61 |
Client Binaries
Server Binaries
Changelog since v1.4.4
Other notable changes
- Fix volume states out of sync problem after kubelet restarts (#33616, @jingxu97)
- cross: add IsNotMountPoint() to mount_unsupported.go (#35566, @rootfs)
- Bump GCE debian image to container-vm-v20161025 (CVE-2016-5195 Dirty COW) (#35825, @dchen1107)
- Avoid overriding system and kubelet cgroups on GCI (#35319, @vishh)
* Make the kubectl from k8s release the default on GCI
- kubelet summary rootfs now refers to the filesystem that contains the Kubelet RootDirectory (var/lib/kubelet) instead of cadvisor's rootfs ( / ), since they may be different filesystems. (#35136, @dashpole)
- Fix cadvisor_unsupported and the crossbuild (#35817, @luxas)
- kubenet: SyncHostports for both running and ready to run pods. (#31388, @yifan-gu)
- GC pod ips (#35572, @bprashanth)
- Fix version string generation for local version different from release and not based on
-alpha.no
or -beta.no
suffixed tag. (#34612, @jellonek)
- Node status updater should SetNodeStatusUpdateNeeded if it fails to update status (#34368, @jingxu97)
- Fixed flakes caused by petset tests. (#35158, @foxish)
- Added rkt binary to GCI (#35321, @vishh)
- Bump container-vm version in config-test.sh (#35705, @mtaufen)
- Delete all firewall rules (and optionally network) on GCE/GKE cluster teardown (#34577, @ixdy)
- Fixed mutation warning in Attach/Detach controller (#35273, @jsafrane)
- Dynamic provisioning for vSphere (#30836, @abrarshivani)
- Update grafana version used by default in kubernetes to 3.1.1 (#35435, @Crassirostris)
- vSphere Kube-up: resolve vm-names on all nodes (#35365, @kerneltime)
- Improve source IP preservation test, fail the test instead of panic. (#34030, @MrHohn)
- Fix #31085, include output checking in retry loop (#34107, @MrHohn)
- vSphere kube-up: Wait for cbr0 configuration to complete before setting up routes. (#35232, @kerneltime)
- Substitute gcloud regex with regexp (#35346, @bprashanth)
- Fix PDB e2e test, off-by-one (#35274, @soltysh)
- etcd3: API storage - decouple decorator from filter (#31189, @hongchaodeng)
- etcd3: v3client + grpc client leak fix (#31704, @timothysc)
- etcd3: watcher logging error (#32831, @hongchaodeng)
- etcd: watcher centralize error handling (#32907, @hongchaodeng)
- etcd: stop watcher when watch channel is closed (#33003, @hongchaodeng)
- etcd3: dereference the UID pointer for a readable error message. (#33349, @madhusudancs)
- etcd3: pass SelectionPredicate instead of Filter to storage layer (#31190, @hongchaodeng)
- etcd3: make gets for previous value in watch serialize-able (#34089, @wojtek-t)
- etcd3: minor cleanups (#34234, @wojtek-t)
- etcd3: update etcd godep to 3.0.9 to address TestWatch issues (#32822, @timothysc)
- etcd3: update to etcd 3.0.10 (#33393, @timothysc)
- etcd3: use PrevKV to remove additional get (#34246, @hongchaodeng)
- etcd3: avoid unnecessary decoding in etcd3 client (#34435, @wojtek-t)
- etcd3: fix suite (#32477, @wojtek-t)
v1.5.0-alpha.2
Documentation & Examples
Downloads for v1.5.0-alpha.2
filename |
sha256 hash |
kubernetes.tar.gz |
77f04c646657b683210a17aeca62e56bf985702b267942b41729406970c40cee |
kubernetes-src.tar.gz |
f6090cc853e56159099bf12169f0d84e29fd2c055b0c7dbdac755ee94439a6a6 |
Client Binaries
Server Binaries
Changelog since v1.5.0-alpha.1
Action Required
- Deprecate the --reconcile-cidr kubelet flag because it has no function anymore (#35523, @luxas)
- Removed the deprecated kubelet --configure-cbr0 flag, and with that the "classic" networking mode as well (#34906, @luxas)
- New client-go structure (#34989, @caesarxuchao)
- Remove scheduler flags that were marked as deprecated 2+ releases ago. (#34471, @timothysc)
Other notable changes
- Make the fake RESTClient usable by all the API groups, not just core. (#35492, @madhusudancs)
- Adding support for DeleteOptions.OrphanDependents for federated namespaces. Setting it to false while deleting a federated namespace also deletes the corresponding namespace from all registered clusters. (#34648, @nikhiljindal)
- Kubelet flag '--mounter-path' renamed to '--experimental-mounter-path' (#35646, @vishh)
- Node status updater should SetNodeStatusUpdateNeeded if it fails to update status (#34368, @jingxu97)
- Deprecate OpenAPI spec for GroupVersion endpoints in favor of single spec /swagger.json (#35388, @mbohlool)
- kubelet authn/authz (#34381, @liggitt)
- Fix volume states out of sync problem after kubelet restarts (#33616, @jingxu97)
- Added rkt binary to GCI (#35321, @vishh)
- Fixed mutation warning in Attach/Detach controller (#35273, @jsafrane)
- Don't count failed pods as "not-ready" (#35404, @brendandburns)
- fixed typo in script which made setting custom cidr in gce using kube-up impossible (#35267, @tommywo)
- The podGC controller will now always run, irrespective of the value supplied to the "terminated-pod-gc-threshold" flag supplied to the controller manager. (#35476, @foxish)
- The specific behavior of the podGC controller to clean up terminated pods is still governed by the flag, but the podGC's responsibilities have evolved beyond just cleaning up terminated pods.
- Update grafana version used by default in kubernetes to 3.1.1 (#35435, @Crassirostris)
- vSphere Kube-up: resolve vm-names on all nodes (#35365, @kerneltime)
- bootstrap: Start hostNetwork pods even if network plugin not ready (#33347, @justinsb)
- Factor out post-init swagger and OpenAPI routes (#32590, @sttts)
- Substitute gcloud regex with regexp (#35346, @bprashanth)
- Remove support for multi-architecture code in
kubeadm
, which was released untested. (#35124, @errordeveloper)
- vSphere kube-up: Wait for cbr0 configuration to complete before setting up routes. (#35232, @kerneltime)
- Remove last probe time from replica sets (#35199, @kargakis)
- Update the GCI image to gci-dev-55-8872-18-0 (#35243, @maisem)
- Add
--mounter-path
flag to kubelet that will allow overriding the mount
command used by kubelet (#34994, @jingxu97)
- Fix a bug under the rkt runtime whereby image-registries with ports would not be fetched from (#34375, @euank)
- Updated default Elasticsearch and Kibana used for elasticsearch logging destination to versions 2.4.1 and 4.6.1 respectively. (#34969, @Crassirostris)
- Loadbalanced client src ip preservation enters beta (#33957, @bprashanth)
- Add NodePort value in kubectl output (#34922, @zreigz)
- kubectl drain now waits until pods have been delete from the Node before exiting (#34778, @ymqytw)
- Don't report FS stats for system containers in the Kubelet Summary API (#34998, @timstclair)
- Fixed flakes caused by petset tests. (#35158, @foxish)
- Add validation that detects repeated keys in the labels and annotations maps (#34407, @brendandburns)
- Change merge key for VolumeMount to mountPath (#35071, @thockin)
- kubelet: storage: don't hang kubelet on unresponsive nfs (#35038, @sjenning)
- Fix kube vsphere.kerneltime (#34997, @kerneltime)
- Add PSP support for seccomp profiles (#28300, @pweil-)
- Updated Go to 1.7 (#28742, @jessfraz)
- HPA: fixed wrong count for target replicas calculations (#34821). (#34955, @jszczepkowski)
- Improves how 'kubectl' uses the terminal size when printing help and usage. (#34502, @fabianofranz)
- Updated Elasticsearch image from version 1.5.1 to version 2.4.1. Updated Kibana image from version 4.0.2 to version 4.6.1. (#34562, @Crassirostris)
- libvirt-coreos: Download the coreos_production_qemu_image over SSL. (#34646, @roberthbailey)
- Add a new global option "--request-timeout" to the
kubectl
client (#33958, @juanvallejo)
- Add support for admission controller based on namespace node selectors. (#24980, @aveshagarwal)
- Add 'kubectl set resources' (#27206, @JacobTanenbaum)
- Support trust id as a scope in the OpenStack authentication logic (#32111, @MatMaul)
- Only wait for cache syncs once in NodeController (#34851, @ncdc)
- NodeController waits for informer sync before doing anything (#34809, @gmarek)
- azure: lower log priority for skipped nic update message (#34730, @colemickens)
- Security Group support for OpenStack Load Balancers (#31921, @grahamhayes)
- Make NodeController recognize deletion tombstones (#34786, @davidopp)
- Delete all firewall rules (and optionally network) on GCE/GKE cluster teardown (#34577, @ixdy)
- Fix panic in NodeController caused by receiving DeletedFinalStateUnknown object from the cache. (#34694, @gmarek)
- azure: add PrimaryAvailabilitySet to config, only use nodes in that set in the loadbalancer pool (#34526, @colemickens)
- Fix leaking ingress resources in federated ingress e2e test. (#34652, @quinton-hoole)
- pvc.Spec.Resources.Requests min and max can be enforced with a LimitRange of type "PersistentVolumeClaim" in the namespace (#30145, @markturansky)
- Federated DaemonSet controller. Supports all the API that regular DaemonSet has. (#34319, @mwielgus)
- New federation deployment mechanism now allows non-GCP clusters. (#34620, @madhusudancs)
* Writes the federation kubeconfig to the local kubeconfig file.
- Update the series and the README to reflect the change. (#30374, @mbruzek)
- Replica set conditions API (#33905, @kargakis)
- etcd3: avoid unnecessary decoding in etcd3 client (#34435, @wojtek-t)
- Test x509 intermediates correctly (#34524, @liggitt)
- Add
cifs-utils
to the hyperkube image. (#34416, @colemickens)
- etcd3: use PrevKV to remove additional get (#34246, @hongchaodeng)
- Fix upgrade.sh image setup (#34468, @mtaufen)
v1.2.7
Documentation & Examples
Downloads for v1.2.7
filename |
sha256 hash |
kubernetes.tar.gz |
53db157923c17fa7a0addb3e4dfe7d1b9194b9266a87d371a251d5bb790a1832 |
kubernetes-src.tar.gz |
e6e46831706743d8263581d0575507cf5ffc265096d22e5e84cf1c3ae925db5e |
Client Binaries
Server Binaries
Changelog since v1.2.6
Other notable changes
v1.4.4
Documentation & Examples
Downloads for v1.4.4
filename |
sha256 hash |
kubernetes.tar.gz |
2732bfc56ceabc872b6af3f460cbda68c2384c95a1c0c72eb33e5ff0e03dc9da |
kubernetes-src.tar.gz |
29c6cf1567e6b7f6c3ecb71acead083b7535b22ac20bd8166b29074e8a0f6441 |
Client Binaries
Server Binaries
Changelog since v1.4.3
Other notable changes
- Update the GCI image to gci-dev-55-8872-18-0 (#35243, @maisem)
- Change merge key for VolumeMount to mountPath (#35071, @thockin)
- Turned-off etcd listening on public ports as potentially insecure. Removed (#35192, @jszczepkowski)
- experimental support for master replication.
- Add support for vSphere Cloud Provider when deploying via kubeup on vSphere. (#31467, @kerneltime)
- Fix kube vsphere.kerneltime (#34997, @kerneltime)
- HPA: fixed wrong count for target replicas calculations (#34821). (#34955, @jszczepkowski)
- Fix leaking ingress resources in federated ingress e2e test. (#34652, @quinton-hoole)
- azure: add PrimaryAvailabilitySet to config, only use nodes in that set in the loadbalancer pool (#34526, @colemickens)
- azure: lower log priority for skipped nic update message (#34730, @colemickens)
v1.3.9
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
a994c732d2b852bbee55a78601d50d046323021a99b0801aea07dacf64c2c59a |
Changelog since v1.3.8
Other notable changes
v1.4.3
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
c3dccccc005bc22eaf814ccb8e72b4f876167ab38ac594bb7e44c98f162a0f1c |
Changelog since v1.4.2-beta.1
Other notable changes
- Fix non-starting node controller in 1.4 branch (#34895, @wojtek-t)
- Cherrypick #34851 "Only wait for cache syncs once in NodeController" (#34861, @jessfraz)
- NodeController waits for informer sync before doing anything (#34809, @gmarek)
- Make NodeController recognize deletion tombstones (#34786, @davidopp)
- Fix panic in NodeController caused by receiving DeletedFinalStateUnknown object from the cache. (#34694, @gmarek)
- Update GlusterFS provisioning readme with endpoint/service details (#31854, @humblec)
- Add logging for enabled/disabled API Groups (#32198, @deads2k)
- New federation deployment mechanism now allows non-GCP clusters. (#34620, @madhusudancs)
* Writes the federation kubeconfig to the local kubeconfig file.
v1.4.2
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
0730e207944ca96c9d9588a571a5eff0f8fdbb0e1287423513a2b2a4baca9f77 |
Changelog since v1.4.2-beta.1
Other notable changes
- Cherrypick #34851 "Only wait for cache syncs once in NodeController" (#34861, @jessfraz)
- NodeController waits for informer sync before doing anything (#34809, @gmarek)
- Make NodeController recognize deletion tombstones (#34786, @davidopp)
- Fix panic in NodeController caused by receiving DeletedFinalStateUnknown object from the cache. (#34694, @gmarek)
- Update GlusterFS provisioning readme with endpoint/service details (#31854, @humblec)
- Add logging for enabled/disabled API Groups (#32198, @deads2k)
- New federation deployment mechanism now allows non-GCP clusters. (#34620, @madhusudancs)
* Writes the federation kubeconfig to the local kubeconfig file.
v1.5.0-alpha.1
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
86bfcfffaa210ddf18983ff066470ef9c06ee00449b2238043e2777aac2c906d |
Changelog since v1.4.0-alpha.3
Experimental Features
Action Required
- kube-apiserver learned the '--anonymous-auth' flag, which defaults to true. When enabled, requests to the secure port that are not rejected by other configured authentication methods are treated as anonymous requests, and given a username of 'system:anonymous' and a group of 'system:unauthenticated'. (#32386, @liggitt)
- Authenticated users are decorated with a 'system:authenticated' group.
- NOTE: anonymous access is enabled by default. If you rely on authentication alone to authorize access, change to use an authorization mode other than AlwaysAllow, or or set '--anonymous-auth=false'.
- The NamespaceExists and NamespaceAutoProvision admission controllers have been removed. (#31250, @derekwaynecarr)
- All cluster operators should use NamespaceLifecycle.
- Federation binaries and their corresponding docker images -
federation-apiserver
and federation-controller-manager
are now folded in to the hyperkube
binary. If you were using one of these binaries or docker images, please switch to using the hyperkube
version. Please refer to the federation manifests - federation/manifests/federation-apiserver.yaml
and federation/manifests/federation-controller-manager-deployment.yaml
for examples. (#29929, @madhusudancs)
Other notable changes
- The kube-apiserver --service-account-key-file option can be specified multiple times, or can point to a file containing multiple keys, to enable rotation of signing keys. (#34029, @liggitt)
- The apiserver now uses addresses reported by the kubelet in the Node object's status for apiserver->kubelet communications, rather than the name of the Node object. The address type used defaults to
InternalIP
, ExternalIP
, and LegacyHostIP
address types, in that order. (#33718, @justinsb)
- Federated deployment controller that supports the same api as the regular kubernetes deployment controller. (#34109, @mwielgus)
- Match GroupVersionKind against specific version (#34010, @soltysh)
- fix yaml decode issue (#34297, @AdoHe)
- kubectl annotate now supports --dry-run (#34199, @asalkeld)
- kubectl: Add external ip information to node when '-o wide' is used (#33552, @floreks)
- Update GCI base image: (#34156, @adityakali)
* Enabled VXLAN and IP_SET config options in kernel to support some networking tools (ebtools)
* OpenSSL CVE fixes
- ContainerVm/GCI image: try to use ifdown/ifup if available (#33595, @freehan)
- Use manifest digest (as
docker-pullable://
) as ImageID when available (exposes a canonical, pullable image ID for containers). (#33014, @DirectXMan12)
- Add kubelet awareness to taint tolerant match caculator. (#26501, @resouer)
- Fix nil pointer issue when getting metrics from volume mounter (#34251, @jingxu97)
- Enforce Disk based pod eviction with GCI base image in Kubelet (#33520, @vishh)
- Remove headers that are unnecessary for proxy target (#34076, @mbohlool)
- Add missing argument to log message in federated ingress controller. (#34158, @quinton-hoole)
- The kubelet --eviction-minimum-reclaim option can now take precentages as well as absolute values for resources quantities (#33392, @sjenning)
- The implicit registration of Prometheus metrics for workqueue has been removed, and a plug-able interface was added. If you were using workqueue in your own binaries and want these metrics, add the following to your imports in the main package: "k8s.io/pkg/util/workqueue/prometheus". (#33792, @caesarxuchao)
- Add kubectl --node-port option for specifying the service nodeport (#33319, @juanvallejo)
- To reduce memory usage to reasonable levels in smaller clusters, kube-apiserver now sets the deserialization cache size based on the target memory usage. (#34000, @wojtek-t)
- use service accounts as clients for controllers (#33310, @deads2k)
- Add a new option "--local" to the
kubectl annotate
(#34074, @asalkeld)
- Add a new option "--local" to the
kubectl label
(#33990, @asalkeld)
- Initialize podsWithAffinity to avoid scheduler panic (#33967, @xiang90)
- Fix base image pinning during upgrades via cluster/gce/upgrade.sh (#33147, @vishh)
- Remove the flannel experimental overlay (#33862, @luxas)
- CRI: Remove the mount name and port name. (#33970, @yifan-gu)
- Enable kubectl describe rs to work when apiserver does not support pods (#33794, @nikhiljindal)
- Heal the namespaceless ingresses in federation e2e. (#33977, @quinton-hoole)
- Fix issue in updating device path when volume is attached multiple times (#33796, @jingxu97)
- ECDSA keys can now be used for signing and verifying service account tokens. (#33565, @liggitt)
- OnlyLocal nodeports (#33587, @bprashanth)
- Remove flannel because now everything here is upstreamed (#33860, @luxas)
- Use patched golang1.7.1 for cross-builds targeting darwin (#33803, @ixdy)
- Bump up addon kube-dns to v20 for graceful termination (#33774, @MrHohn)
- Creating LoadBalancer Service with "None" ClusterIP is no longer possible (#33274, @nebril)
- Increase timeout for federated ingress test. (#33610, @quinton-hoole)
- Use UpdateStatus, not Update, to add LoadBalancerStatus to Federated Ingress. (#33605, @quinton-hoole)
- add anytoken authenticator (#33378, @deads2k)
- Fixes in HPA: consider only running pods; proper denominator in avg request calculations. (#33735, @jszczepkowski)
- When CORS Handler is enabled, we now add a new HTTP header named "Access-Control-Expose-Headers" with a value of "Date". This allows the "Date" HTTP header to be accessed from XHR/JavaScript. (#33242, @dims)
- promote contrib/mesos to incubator (#33658, @deads2k)
- MinReadySeconds / AvailableReplicas for ReplicaSets (#32771, @kargakis)
- Kubectl drain will now drain finished Pods (#31763, @fraenkel)
- Adds the -deployment option to e2e.go, adds the ability to run e2e.go using a
kops
deployment. (#33518, @zmerlynn)
- Tune down initialDelaySeconds for readinessProbe. (#33146, @MrHohn)
- kube-proxy: Add a lower-bound for conntrack (128k default) (#33051, @thockin)
- local-up-cluster.sh: add SERVICE_CLUSTER_IP_RANGE as option (#32921, @aanm)
- Default HTTP2 on, post fixes from #29001 (#32231, @timothysc)
- Split dns healthcheck into two different urls (#32406, @MrHohn)
- Remove kubectl namespace command (#33275, @maciaszczykm)
- Automatic generation of man pages (#33277, @mkumatag)
- Fixes memory/goroutine leak in Federation Service controller. (#33359, @shashidharatd)
- Switch k8s on GCE to use GCI by default (#33353, @vishh)
- Move HighWaterMark to the top of the struct in order to fix arm, second time (#33376, @luxas)
- Fix race condition in setting node statusUpdateNeeded flag (#32807, @jingxu97)
- Fix the DOCKER_OPTS appending bug. (#33163, @DjangoPeng)
- Send recycle events from pod to pv. (#27714, @jsafrane)
- Add port forwarding for rkt with kvm stage1 (#32126, @jjlakis)
- The value of the
versioned.Event
object (returned by watch APIs) in the Swagger 1.2 schemas has been updated from *versioned.Event
which was not expected by many client tools. The new value is consistent with other structs returned by the API. (#33007, @smarterclayton)
- Remove cpu limits for dns pod to avoid CPU starvation (#33227, @vishh)
- Allow secure access to apiserver from Admission Controllers (#31491, @dims)
- Resolves x509 verification issue with masters dialing nodes when started with --kubelet-certificate-authority (#33141, @liggitt)
- Fix possible panic in PodAffinityChecker (#33086, @ivan4th)
- Upgrading Container-VM base image for k8s on GCE. Brief changelog as follows: (#32738, @Amey-D)
-
- Fixed performance regression in veth device driver
-
- Docker and related binaries are statically linked
-
- Fixed the issue of systemd being oom-killable
- Move HighWaterMark to the top of the struct in order to fix arm (#33117, @luxas)
- kubenet: SyncHostports for both running and ready to run pods. (#31388, @yifan-gu)
- Limit the number of names per image reported in the node status (#32914, @yujuhong)
- Support Quobyte as StorageClass (#31434, @johscheuer)
- Use a patched go1.7.1 for building linux/arm (#32517, @luxas)
- Add line break after events in kubectl describe (#31463, @fabianofranz)
- Specific error message on failed rolling update issued by older kubectl against 1.4 master (#32751, @caesarxuchao)
- Make the informer library available for the go client library. (#32718, @mikedanese)
- Added --log-facility flag to enhance dnsmasq logging (#32422, @MrHohn)
- Set Dashboard UI to final 1.4 version (#32666, @bryk)
- Fix audit_test regex for iso8601 timestamps (#32593, @johnbieren)
- Docker digest validation is too strict (#32627, @smarterclayton)
- Bumped Heapster to v1.2.0. (#32649, @piosz)
- add local subject access review API (#32407, @deads2k)
- make --runtime-config=api/all=true|false work (#32582, @jlowdermilk)
- Added new kubelet flags
--cni-bin-dir
and --cni-conf-dir
to specify where CNI files are located. (#32151, @bboreham)
- Fixed CNI configuration on GCI platform when using CNI.
- Move push-ci-build.sh to kubernetes/release repo (#32444, @david-mcmahon)
- vendor: update github.com/coreos/go-oidc client package (#31564, @ericchiang)
- Fixed an issue that caused a credential error when deploying federation control plane onto a GKE cluster. (#31747, @madhusudancs)
- NONE (#32229, @errordeveloper)
- Error if a contextName is provided but not found in the kubeconfig. (#31767, @asalkeld)
- Use a Deployment for kube-dns (#32018, @MrHohn)
- NONE (#32067, @erikh)
- Support graceful termination in kube-dns (#31894, @MrHohn)
- When prompting for passwords, don't echo to the terminal (#31586, @brendandburns)
- add group prefix matching for kubectl usage (#32140, @deads2k)
- Stick to 2.2.1 etcd (#32404, @caesarxuchao)
- Fix a bug in kubelet hostport logic which flushes KUBE-MARK-MASQ iptables chain (#32413, @freehan)
- Make sure finalizers prevent deletion on storage that supports graceful deletion (#32351, @caesarxuchao)
- AWS: Change default networking for kube-up to kubenet (#32239, @zmerlynn)
- Use etcd 2.3.7 (#32359, @wojtek-t)
- Allow missing keys in jsonpath (#31714, @smarterclayton)
- Changes 'kubectl rollout status' to wait until all updated replicas are available before finishing. (#31499, @areed)
- add selfsubjectaccessreview API (#31271, @deads2k)
- Add kubectl describe cmd support for vSphere volume (#31045, @abrarshivani)
- Enable kubelet eviction whenever inodes free is < 5% on GCE (#31545, @vishh)
- Use federated namespace instead of the bootstrap cluster's namespace in Ingress e2e tests. (#32105, @madhusudancs)
- Move StorageClass to a storage group (#31886, @deads2k)
- Some components like kube-dns and kube-proxy could fail to load the service account token when started within a pod. Properly handle empty configurations to try loading the service account config. (#31947, @smarterclayton)
- Removed comments in json config when using kubectl edit with -o json (#31685, @jellonek)
- fixes invalid null selector issue in sysdig example yaml (#31393, @baldwinSPC)
- Rescheduler which ensures that critical pods are always scheduled enabled by default in GCE. (#31974, @piosz)
- retry oauth token fetch in gce cloudprovider (#32021, @mikedanese)
- Deprecate the old cbr0 and flannel networking modes (#31197, @freehan)
- AWS: fix volume device assignment race condition (#31090, @justinsb)
- The certificates API group has been renamed to certificates.k8s.io (#31887, @liggitt)
- Increase Dashboard UI version to v1.4.0-beta2 (#31518, @bryk)
- Fixed incomplete kubectl bash completion. (#31333, @xingzhou)
- Added liveness probe to Heapster service. (#31878, @mksalawa)
- Adding clusters to the list of valid resources printed by kubectl help (#31719, @nikhiljindal)
- Kubernetes server components using
kubeconfig
files no longer default to http://localhost:8080
. Administrators must specify a server value in their kubeconfig files. (#30808, @smarterclayton)
- Update influxdb to 0.12 (#31519, @piosz)
- Include security options in the container created event (#31557, @timstclair)
- Federation can now be deployed using the
federation/deploy/deploy.sh
script. This script does not depend on any of the development environment shell library/scripts. This is an alternative to the current federation-up.sh
/federation-down.sh
scripts. Both the scripts are going to co-exist in this release, but the federation-up.sh
/federation-down.sh
scripts might be removed in a future release in favor of federation/deploy/deploy.sh
script. (#30744, @madhusudancs)
- Add get/delete cluster, delete context to kubectl config (#29821, @alexbrand)
- rkt: Force
rkt fetch
to fetch from remote to conform the image pull policy. (#31378, @yifan-gu)
- Allow services which use same port, different protocol to use the same nodePort for both (#30253, @AdoHe)
- Handle overlapping deployments gracefully (#30730, @janetkuo)
- Remove environment variables and internal Kubernetes Docker labels from cAdvisor Prometheus metric labels. (#31064, @grobie)
- Old behavior:
-
- environment variables explicitly whitelisted via --docker-env-metadata-whitelist were exported as
container_env_*=*
. Default is zero so by default non were exported
-
- all docker labels were exported as
container_label_*=*
- New behavior:
-
- Only
container_name
, pod_name
, namespace
, id
, image
, and name
labels are exposed
-
- no environment variables will be exposed ever via /metrics, even if whitelisted
- Filter duplicate network packets in promiscuous bridge mode (with ebtables) (#28717, @freehan)
- Refactor to simplify the hard-traveled path of the KubeletConfiguration object (#29216, @mtaufen)
- Fix overflow issue in controller-manager rate limiter (#31396, @foxish)
v1.4.2-beta.1
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
b72986a0adcb7e08feb580c5d72de129ac2ecc128c154fd79785bac2d2e760f7 |
Changelog since v1.4.1
Other notable changes
v1.4.1
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
b51971d872426ba71bb09b9a9191bb95fc0e48390dc287a9080e3876c8e19a95 |
Changelog since v1.4.1-beta.2
No notable changes for this release
v1.4.1-beta.2
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
708fbaabf17a69c69c2c9a715e152a29d47334b8c98d217ba17e9b42d6770f25 |
Changelog since v1.4.0
Other notable changes
- Update GCI base image: (#34156, @adityakali)
* Enabled VXLAN and IP_SET config options in kernel to support some networking tools (ebtools)
* OpenSSL CVE fixes
- ContainerVm/GCI image: try to use ifdown/ifup if available (#33595, @freehan)
- Make the informer library available for the go client library. (#32718, @mikedanese)
- Enforce Disk based pod eviction with GCI base image in Kubelet (#33520, @vishh)
- Fix nil pointer issue when getting metrics from volume mounter (#34251, @jingxu97)
- Enable kubectl describe rs to work when apiserver does not support pods (#33794, @nikhiljindal)
- Increase timeout for federated ingress test. (#33610, @quinton-hoole)
- Remove headers that are unnecessary for proxy target (#34076, @mbohlool)
- Support graceful termination in kube-dns (#31894, @MrHohn)
- Added --log-facility flag to enhance dnsmasq logging (#32422, @MrHohn)
- Split dns healthcheck into two different urls (#32406, @MrHohn)
- Tune down initialDelaySeconds for readinessProbe. (#33146, @MrHohn)
- Bump up addon kube-dns to v20 for graceful termination (#33774, @MrHohn)
- Send recycle events from pod to pv. (#27714, @jsafrane)
- Limit the number of names per image reported in the node status (#32914, @yujuhong)
- Fixes in HPA: consider only running pods; proper denominator in avg request calculations. (#33735, @jszczepkowski)
- Fix audit_test regex for iso8601 timestamps (#32593, @johnbieren)
- Limit the number of names per image reported in the node status (#32914, @yujuhong)
- Fix the DOCKER_OPTS appending bug. (#33163, @DjangoPeng)
- Remove cpu limits for dns pod to avoid CPU starvation (#33227, @vishh)
- Fixes memory/goroutine leak in Federation Service controller. (#33359, @shashidharatd)
- Use UpdateStatus, not Update, to add LoadBalancerStatus to Federated Ingress. (#33605, @quinton-hoole)
- Initialize podsWithAffinity to avoid scheduler panic (#33967, @xiang90)
- Heal the namespaceless ingresses in federation e2e. (#33977, @quinton-hoole)
- Add missing argument to log message in federated ingress controller. (#34158, @quinton-hoole)
- Fix issue in updating device path when volume is attached multiple times (#33796, @jingxu97)
- To reduce memory usage to reasonable levels in smaller clusters, kube-apiserver now sets the deserialization cache size based on the target memory usage. (#34000, @wojtek-t)
- Fix possible panic in PodAffinityChecker (#33086, @ivan4th)
- Fix race condition in setting node statusUpdateNeeded flag (#32807, @jingxu97)
- kube-proxy: Add a lower-bound for conntrack (128k default) (#33051, @thockin)
- Use patched golang1.7.1 for cross-builds targeting darwin (#33803, @ixdy)
- Move HighWaterMark to the top of the struct in order to fix arm (#33117, @luxas)
- Move HighWaterMark to the top of the struct in order to fix arm, second time (#33376, @luxas)
v1.3.8
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
66cf72d8f07e2f700acfcb11536694e0d904483611ff154f34a8380c63720a8d |
Changelog since v1.3.7
Other notable changes
v1.4.0
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
6cf3d78230f7659b87fa399a56a7aaed1fde6a73be9d05e25feedacfbd8d5a16 |
Major Themes
- Simplified User Experience
- Easier to get a cluster up and running (eg:
kubeadm
, intra-cluster bootstrapping)
- Easier to understand a cluster (eg: API audit logs, server-based API defaults)
- Stateful Appplication Support
- Enhanced persistence capabilities (eg:
StorageClasses
, new volume plugins)
- New resources and scheduler features (eg:
ScheduledJob
resource, pod/node affinity/anti-affinity)
- Cluster Federation
- Global Multi-cluster HTTP(S) Ingress across GCE and GKE clusters.
- Expanded support for federated hybrid-cloud resources including ReplicaSets, Secrets, Namespaces and Events.
- Security
- Increased pod-level security granularity (eg: Container Image Policies, AppArmor and
sysctl
support)
- Increased cluster-level security granularity (eg: Access Review API)
Features
This is the first release tracked via the use of the kubernetes/features issues repo. Each Feature issue is owned by a Special Interest Group from kubernetes/community
- API Machinery
- [alpha] Generate audit logs for every request user performs against secured API server endpoint. (docs) (kubernetes/features#22)
- [beta]
kube-apiserver
now publishes a swagger 2.0 spec in addition to a swagger 1.2 spec (kubernetes/features#53)
- [beta] Server-side garbage collection is enabled by default. See user-guide
- Apps
- [alpha] Introducing 'ScheduledJobs', which allow running time based Jobs, namely once at a specified time or repeatedly at specified point in time. (docs) (kubernetes/features#19)
- Auth
- [alpha] Container Image Policy allows an access controller to determine whether a pod may be scheduled based on a policy (docs) (kubernetes/features#59)
- [alpha] Access Review APIs expose authorization engine to external inquiries for delegation, inspection, and debugging (docs) (kubernetes/features#37)
- Cluster Lifecycle
- [alpha] Ensure critical cluster infrastructure pods (Heapster, DNS, etc.) can schedule by evicting regular pods when necessary to make the critical pods schedule. (docs) (kubernetes/features#62)
- [alpha] Simplifies bootstrapping of TLS secured communication between the API server and kubelet. (docs) (kubernetes/features#43)
- [alpha] The
kubeadm
tool makes it much easier to bootstrap Kubernetes. (docs) (kubernetes/features#11)
- Federation
- [alpha] Creating a
Federated Ingress
is as simple as submitting
an Ingress
creation request to the Federation API Server. The
Federation control system then creates and maintains a single
global virtual IP to load balance incoming HTTP(S) traffic across
some or all the registered clusters, across all regions. Google's
GCE L7 LoadBalancer is the first supported implementation, and
is available in this release.
(docs)
(kubernetes/features#82)
- [beta]
Federated Replica Sets
create and maintain matching
Replica Set
s in some or all clusters in a federation, with the
desired replica count distributed equally or according to
specified per-cluster weights.
(docs)
(kubernetes/features#46)
- [beta]
Federated Secrets
are created and kept consistent across all clusters in a federation.
(docs)
(kubernetes/features#68)
- [beta] Federation API server gained support for events and many
federation controllers now report important events.
(docs)
(kubernetes/features#70)
- [alpha] Creating a
Federated Namespace
causes matching
Namespace
s to be created and maintained in all the clusters registered with that federation. (docs) (kubernetes/features#69)
- [alpha] ingress has alpha support for a single master multi zone cluster (docs) (kubernetes/features#52)
- Network
- Node
- Scheduling
- [alpha] Allows pods to require or prohibit (or prefer or prefer not) co-scheduling on the same node (or zone or other topology domain) as another set of pods. (docs (kubernetes/features#51)
- Storage
- UI
- [stable] Kubernetes Dashboard UI - a great looking Kubernetes Dashboard UI with 90% CLI parity for at-a-glance management. docs
- [stable]
kubectl
no longer applies defaults before sending objects to the server in create and update requests, allowing the server to apply the defaults. (kubernetes/features#55)
Known Issues
- Completed pods lose logs across node upgrade (#32324)
- Pods are deleted across node upgrade (#32323)
- Secure master -> node communication (#11816)
- upgrading master doesn't upgrade kubectl (#32538)
- Specific error message on failed rolling update issued by older kubectl against 1.4 master (#32751)
- bump master cidr range from /30 to /29 (#32886)
- non-hostNetwork daemonsets will almost always have a pod that fails to schedule (#32900)
- Service loadBalancerSourceRanges doesn't respect updates (#33033)
- disallow user to update loadbalancerSourceRanges (#33346)
Notable Changes to Existing Behavior
Deployments
- ReplicaSets of paused Deployments are now scaled while the Deployment is paused. This is retroactive to existing Deployments.
- When scaling a Deployment during a rollout, the ReplicaSets of all Deployments are now scaled proportionally based on the number of replicas they each have instead of only scaling the newest ReplicaSet.
kubectl rolling-update: < v1.4.0 client vs >=v1.4.0 cluster
Old version kubectl's rolling-update command is compatible with Kubernetes 1.4 and higher only if you specify a new replication controller name. You will need to update to kubectl 1.4 or higher to use the rolling update command against a 1.4 cluster if you want to keep the original name, or you'll have to do two rolling updates.
If you do happen to use old version kubectl's rolling update against a 1.4 cluster, it will fail, usually with an error message that will direct you here. If you saw that error, then don't worry, the operation succeeded except for the part where the new replication controller is renamed back to the old name. You can just do another rolling update using kubectl 1.4 or higher to change the name back: look for a replication controller that has the original name plus a random suffix.
Unfortunately, there is a much rarer second possible failure mode: the replication controller gets renamed to the old name, but there is a duplicated set of pods in the cluster. kubectl will not report an error since it thinks its job is done.
If this happens to you, you can wait at most 10 minutes for the replication controller to start a resync, the extra pods will then be deleted. Or, you can manually trigger a resync by change the replicas in the spec of the replication controller.
kubectl delete: < v1.4.0 client vs >=v1.4.0 cluster
If you use an old version kubectl to delete a replication controller or replicaset, then after the delete command has returned, the replication controller or the replicaset will continue to exist in the key-value store for a short period of time (<1s). You probably will not notice any difference if you use kubectl manually, but you might notice it if you are using kubectl in a script.
DELETE operation in REST API
-
Replication controller & Replicaset: the DELETE request of a replication controller or a replicaset becomes asynchronous by default. The object will continue to exist in the key-value store for some time. The API server will set its metadata.deletionTimestamp, add the "orphan" finalizer to its metadata.finalizers. The object will be deleted from the key-value store after the garbage collector orphans its dependents. Please refer to this user-guide for more information regarding the garbage collection.
-
Other objects: no changes unless you explicitly request orphaning.
Action Required Before Upgrading
- If you are using Kubernetes to manage
docker
containers, please be aware Kubernetes has been validated to work with docker 1.9.1, docker 1.11.2 (#23397), and docker 1.12.0 (#28698)
- If you upgrade your apiserver to 1.4.x but leave your kubelets at 1.3.x, they will not report init container status, but init containers will work properly. Upgrading kubelets to 1.4.x fixes this.
- The NamespaceExists and NamespaceAutoProvision admission controllers have been removed, use the NamespaceLifecycle admission controller instead (#31250, @derekwaynecarr)
- If upgrading Cluster Federation components from 1.3.x, the
federation-apiserver
and federation-controller-manager
binaries have been folded into hyperkube
. Please switch to using that instead. (#29929, @madhusudancs)
- If you are using the PodSecurityPolicy feature (eg:
kubectl get podsecuritypolicy
does not error, and returns one or more objects), be aware that init containers have moved from alpha to beta. If there are any pods with the key pods.beta.kubernetes.io/init-containers
, then that pod may not have been filtered by the PodSecurityPolicy. You should find such pods and either delete them or audit them to ensure they do not use features that you intend to be blocked by PodSecurityPolicy. (#31026, @erictune)
- If upgrading Cluster Federation components from 1.3.x, please ensure your cluster name is a valid DNS label (#30956, @nikhiljindal)
- kubelet's
--config
flag has been deprecated, use --pod-manifest-path
instead (#29999, @mtaufen)
- If upgrading Cluster Federation components from 1.3.x, be aware the federation-controller-manager now looks for a different secret name. Run the following to migrate (#28938, @madhusudancs)
kubectl --namespace=federation get secret federation-apiserver-secret -o json | sed 's/federation-apiserver-secret/federation-apiserver-kubeconfig/g' | kubectl create -f -
# optionally, remove the old secret
kubectl delete secret --namespace=federation federation-apiserver-secret
- Kubernetes components no longer handle panics, and instead actively crash. All Kubernetes components should be run by something that actively restarts them. This is true of the default setups, but those with custom environments may need to double-check (#28800, @lavalamp)
- kubelet now defaults to
--cloud-provider=auto-detect
, use --cloud-provider=''
to preserve previous default of no cloud provider (#28258, @vishh)
Previous Releases Included in v1.4.0
For a detailed list of all changes that were included in this release, please refer to the following CHANGELOG entries:
v1.4.0-beta.11
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
993e785f501d2fa86c9035b55a875c420059b3541a32b5822acf5fefb9a61916 |
Changelog since v1.4.0-beta.10
No notable changes for this release
v1.4.0-beta.10
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
f3f1f0e5cf8234d640c8e9444c73343f04be8685f92b6a1ad66190f84de2e3a7 |
Changelog since v1.4.0-beta.8
Other notable changes
- Remove cpu limits for dns pod to avoid CPU starvation (#33227, @vishh)
- Resolves x509 verification issue with masters dialing nodes when started with --kubelet-certificate-authority (#33141, @liggitt)
- Upgrading Container-VM base image for k8s on GCE. Brief changelog as follows: (#32738, @Amey-D)
-
- Fixed performance regression in veth device driver
-
- Docker and related binaries are statically linked
-
- Fixed the issue of systemd being oom-killable
- Update cAdvisor to v0.24.0 - see the cAdvisor changelog for the full list of changes. (#33052, @timstclair)
v1.4.0-beta.8
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
31701c5c675c137887b58d7914e39b4c8a9c03767c0c3d89198a52f4476278ca |
Changelog since v1.4.0-beta.7
No notable changes for this release
v1.4.0-beta.7
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
51e8f3ebe55cfcfbe582dd6e5ea60ae125d89373477571c0faee70eff51bab31 |
Changelog since v1.4.0-beta.6
Other notable changes
- Use a patched go1.7.1 for building linux/arm (#32517, @luxas)
- Specific error message on failed rolling update issued by older kubectl against 1.4 master (#32751, @caesarxuchao)
v1.4.0-beta.6
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
0b0158e4745663b48c55527247d3e64cc3649f875fa7611fc7b38fa5c3b736bd |
Changelog since v1.4.0-beta.5
Other notable changes
v1.4.0-beta.5
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
ec6b233b0448472e05e6820b8ea1644119ae4f9fe3a1516cf978117c19bad0a9 |
Changelog since v1.4.0-beta.3
Other notable changes
- Bumped Heapster to v1.2.0. (#32649, @piosz)
- Docker digest validation is too strict (#32627, @smarterclayton)
- Added new kubelet flags
--cni-bin-dir
and --cni-conf-dir
to specify where CNI files are located. (#32151, @bboreham)
- Fixed CNI configuration on GCI platform when using CNI.
- make --runtime-config=api/all=true|false work (#32582, @jlowdermilk)
- AWS: Change default networking for kube-up to kubenet (#32239, @zmerlynn)
v1.3.7
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
ad18566a09ff87b36107c2ea238fa5e20988d7a62c85df9c8598920679fec4a1 |
Changelog since v1.3.6
Other notable changes
- AWS: Add ap-south-1 to list of known AWS regions (#28428, @justinsb)
- Back porting critical vSphere bug fixes to release 1.3 (#31993, @dagnello)
- Back port - Openstack provider allowing more than one service port for lbaas v2 (#32001, @dagnello)
- Fix a bug in kubelet hostport logic which flushes KUBE-MARK-MASQ iptables chain (#32413, @freehan)
- Fixes the panic that occurs in the federation controller manager when registering a GKE cluster to the federation. Fixes issue #30790. (#30940, @madhusudancs)
v1.4.0-beta.3
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
5a6802703c6b0b652e72166a4347fee7899c46205463f6797dc78f8086876465 |
Changelog since v1.4.0-beta.2
No notable changes for this release
Behavior changes caused by enabling the garbage collector
kubectl rolling-update
Old version kubectl's rolling-update command is compatible with Kubernetes 1.4 and higher only if you specify a new replication controller name. You will need to update to kubectl 1.4 or higher to use the rolling update command against a 1.4 cluster if you want to keep the original name, or you'll have to do two rolling updates.
If you do happen to use old version kubectl's rolling update against a 1.4 cluster, it will fail, usually with an error message that will direct you here. If you saw that error, then don't worry, the operation succeeded except for the part where the new replication controller is renamed back to the old name. You can just do another rolling update using kubectl 1.4 or higher to change the name back: look for a replication controller that has the original name plus a random suffix.
Unfortunately, there is a much rarer second possible failure mode: the replication controller gets renamed to the old name, but there is a duplicate set of pods in the cluster. kubectl will not report an error since it thinks its job is done.
If this happens to you, you can wait at most 10 minutes for the replication controller to start a resync, the extra pods will then be deleted. Or, you can manually trigger a resync by change the replicas in the spec of the replication controller.
kubectl delete
If you use an old version kubectl to delete a replication controller or a replicaset, then after the delete command has returned, the replication controller or the replicaset will continue to exist in the key-value store for a short period of time (<1s). You probably will not notice any difference if you use kubectl manually, but you might notice it if you are using kubectl in a script. To fix it, you can poll the API server to confirm the object is deleted.
DELETE operation in REST API
-
Replication controller & Replicaset: the DELETE request of a replication controller or a replicaset becomes asynchronous by default. The object will continue to exist in the key-value store for some time. The API server will set its metadata.deletionTimestamp, add the "orphan" finalizer to its metadata.finalizers. The object will be deleted from the key-value store after the garbage collector orphans its dependents. Please refer to this user-guide for more information regarding the garbage collection.
-
Other objects: no changes unless you explicitly request orphaning.
v1.4.0-beta.2
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
0c6f54eb9059090c88f10a448ed5bcb6ef663abbd76c79281fd8dcb72faa6315 |
Changelog since v1.4.0-beta.1
Other notable changes
- Fix a bug in kubelet hostport logic which flushes KUBE-MARK-MASQ iptables chain (#32413, @freehan)
- Stick to 2.2.1 etcd (#32404, @caesarxuchao)
- Use etcd 2.3.7 (#32359, @wojtek-t)
- AWS: Change default networking for kube-up to kubenet (#32239, @zmerlynn)
- Make sure finalizers prevent deletion on storage that supports graceful deletion (#32351, @caesarxuchao)
- Some components like kube-dns and kube-proxy could fail to load the service account token when started within a pod. Properly handle empty configurations to try loading the service account config. (#31947, @smarterclayton)
- Use federated namespace instead of the bootstrap cluster's namespace in Ingress e2e tests. (#32105, @madhusudancs)
v1.4.0-beta.1
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
837296455933629b6792a8954f2c5b17d55c1149c12b644101f2f02549d06d25 |
Changelog since v1.4.0-alpha.3
Action Required
- The NamespaceExists and NamespaceAutoProvision admission controllers have been removed. (#31250, @derekwaynecarr)
- All cluster operators should use NamespaceLifecycle.
- Federation binaries and their corresponding docker images -
federation-apiserver
and federation-controller-manager
are now folded in to the hyperkube
binary. If you were using one of these binaries or docker images, please switch to using the hyperkube
version. Please refer to the federation manifests - federation/manifests/federation-apiserver.yaml
and federation/manifests/federation-controller-manager-deployment.yaml
for examples. (#29929, @madhusudancs)
- Use upgraded container-vm by default on worker nodes for GCE k8s clusters (#31023, @vishh)
Other notable changes
- Enable kubelet eviction whenever inodes free is < 5% on GCE (#31545, @vishh)
- Move StorageClass to a storage group (#31886, @deads2k)
- Some components like kube-dns and kube-proxy could fail to load the service account token when started within a pod. Properly handle empty configurations to try loading the service account config. (#31947, @smarterclayton)
- Removed comments in json config when using kubectl edit with -o json (#31685, @jellonek)
- fixes invalid null selector issue in sysdig example yaml (#31393, @baldwinSPC)
- Rescheduler which ensures that critical pods are always scheduled enabled by default in GCE. (#31974, @piosz)
- retry oauth token fetch in gce cloudprovider (#32021, @mikedanese)
- Deprecate the old cbr0 and flannel networking modes (#31197, @freehan)
- AWS: fix volume device assignment race condition (#31090, @justinsb)
- The certificates API group has been renamed to certificates.k8s.io (#31887, @liggitt)
- Increase Dashboard UI version to v1.4.0-beta2 (#31518, @bryk)
- Fixed incomplete kubectl bash completion. (#31333, @xingzhou)
- Added liveness probe to Heapster service. (#31878, @mksalawa)
- Adding clusters to the list of valid resources printed by kubectl help (#31719, @nikhiljindal)
- Kubernetes server components using
kubeconfig
files no longer default to http://localhost:8080
. Administrators must specify a server value in their kubeconfig files. (#30808, @smarterclayton)
- Update influxdb to 0.12 (#31519, @piosz)
- Include security options in the container created event (#31557, @timstclair)
- Federation can now be deployed using the
federation/deploy/deploy.sh
script. This script does not depend on any of the development environment shell library/scripts. This is an alternative to the current federation-up.sh
/federation-down.sh
scripts. Both the scripts are going to co-exist in this release, but the federation-up.sh
/federation-down.sh
scripts might be removed in a future release in favor of federation/deploy/deploy.sh
script. (#30744, @madhusudancs)
- Add get/delete cluster, delete context to kubectl config (#29821, @alexbrand)
- rkt: Force
rkt fetch
to fetch from remote to conform the image pull policy. (#31378, @yifan-gu)
- Allow services which use same port, different protocol to use the same nodePort for both (#30253, @AdoHe)
- Handle overlapping deployments gracefully (#30730, @janetkuo)
- Remove environment variables and internal Kubernetes Docker labels from cAdvisor Prometheus metric labels. (#31064, @grobie)
- Old behavior:
-
- environment variables explicitly whitelisted via --docker-env-metadata-whitelist were exported as
container_env_*=*
. Default is zero so by default non were exported
-
- all docker labels were exported as
container_label_*=*
- New behavior:
-
- Only
container_name
, pod_name
, namespace
, id
, image
, and name
labels are exposed
-
- no environment variables will be exposed ever via /metrics, even if whitelisted
- Filter duplicate network packets in promiscuous bridge mode (with ebtables) (#28717, @freehan)
- Refactor to simplify the hard-traveled path of the KubeletConfiguration object (#29216, @mtaufen)
- Fix overflow issue in controller-manager rate limiter (#31396, @foxish)
v1.3.6
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
2db7ace2f72a2e162329a6dc969a5a158bb8c5d0f8054c5b1b2b1063aa22020d |
Changelog since v1.3.5
Other notable changes
- Addresses vSphere Volume Attach limits (#29881, @dagnello)
- Increase request timeout based on termination grace period (#31275, @dims)
- Skip safe to detach check if node API object no longer exists (#30737, @saad-ali)
- Nodecontroller doesn't flip readiness on pods if kubeletVersion < 1.2.0 (#30828, @bprashanth)
- Update cadvisor to v0.23.9 to fix a problem where attempting to gather container filesystem usage statistics could result in corrupted devicemapper thin pool storage for Docker. (#30307, @sjenning)
v1.4.0-alpha.3
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
8055f0373e3b6bdee865749ef9bcfc765396a40f39ec2fa3cd31b675d1bbf5d9 |
Changelog since v1.4.0-alpha.2
Action Required
- Moved init-container feature from alpha to beta. (#31026, @erictune)
- Security Action Required:
- This only applies to you if you use the PodSecurityPolicy feature. You are using that feature if
kubectl get podsecuritypolicy
returns one or more objects. If it returns an error, you are not using it.
- If there are any pods with the key
pods.beta.kubernetes.io/init-containers
, then that pod may not have been filtered by the PodSecurityPolicy. You should find such pods and either delete them or audit them to ensure they do not use features that you intend to be blocked by PodSecurityPolicy.
- Explanation of Feature
- In 1.3, an init container is specified with this annotation key
- on the pod or pod template:
pods.alpha.kubernetes.io/init-containers
.
- In 1.4, either that key or this key:
pods.beta.kubernetes.io/init-containers
,
- can be used.
- When you GET an object, you will see both annotation keys with the same values.
- You can safely roll back from 1.4 to 1.3, and things with init-containers
- will still work (pods, deployments, etc).
- If you are running 1.3, only use the alpha annotation, or it may be lost when
- rolling forward.
- The status has moved from annotation key
pods.beta.kubernetes.io/init-container-statuses
to
pods.beta.kubernetes.io/init-container-statuses
.
- Any code that inspects this annotation should be changed to use the new key.
- State of Initialization will continue to be reported in both pods.alpha.kubernetes.io/initialized
- and in
podStatus.conditions.{status: "True", type: Initialized}
- Action required: federation-only: Please update your cluster name to be a valid DNS label. (#30956, @nikhiljindal)
- Updating federation.v1beta1.Cluster API to disallow subdomains as valid cluster names. Only DNS labels are allowed as valid cluster names now.
- [Kubelet] Rename
--config
to --pod-manifest-path
. --config
is deprecated. (#29999, @mtaufen)
Other notable changes
- rkt: Improve support for privileged pod (pod whose all containers are privileged) (#31286, @yifan-gu)
- The pod annotation
security.alpha.kubernetes.io/sysctls
now allows customization of namespaced and well isolated kernel parameters (sysctls), starting with kernel.shm_rmid_forced
, net.ipv4.ip_local_port_range
and net.ipv4.tcp_syncookies
for Kubernetes 1.4. (#27180, @sttts)
- The pod annotation
security.alpha.kubernetes.io/unsafe-sysctls
allows customization of namespaced sysctls where isolation is unclear. Unsafe sysctls must be enabled at-your-own-risk on the kubelet with the --experimental-allowed-unsafe-sysctls
flag. Future versions will improve on resource isolation and more sysctls will be considered safe.
- Increase request timeout based on termination grace period (#31275, @dims)
- Fixed two issues of kubectl bash completion. (#31135, @xingzhou)
- Reduced size of fluentd images. (#31239, @aledbf)
- support Azure data disk volume (#29836, @rootfs)
- fix Openstack provider to allow more than one service port for lbaas v2 (#30649, @dagnello)
- Add kubelet --network-plugin-mtu flag for MTU selection (#30376, @justinsb)
- Let Services preserve client IPs and not double-hop from external LBs (alpha) (#29409, @girishkalele)
- [Kubelet] Optionally consume configuration from named config maps (#30090, @mtaufen)
- [GarbageCollector] Allow per-resource default garbage collection behavior (#30838, @caesarxuchao)
- Action required: If you have a running federation control plane, you will have to ensure that for all federation resources, the corresponding namespace exists in federation control plane. (#31139, @nikhiljindal)
- federation-apiserver now supports NamespaceLifecycle admission control, which is enabled by default. Set the --admission-control flag on the server to change that.
- Configure webhook (#30923, @Q-Lee)
- Federated Ingress Controller (#30419, @quinton-hoole)
- Federation replicaset controller (#29741, @jianhuiz)
- AWS: More ELB attributes via service annotations (#30695, @krancour)
- Impersonate user extra (#30881, @deads2k)
- DNS, Heapster and UI are critical addons (#30995, @piosz)
- AWS: Support HTTP->HTTP mode for ELB (#30563, @knarz)
- kube-up: Allow IP restrictions for SSH and HTTPS API access on AWS. (#27061, @Naddiseo)
- Add readyReplicas to replica sets (#29481, @kargakis)
- The implicit registration of Prometheus metrics for request count and latency have been removed, and a plug-able interface was added. If you were using our client libraries in your own binaries and want these metrics, add the following to your imports in the main package: "k8s.io/pkg/client/metrics/prometheus". (#30638, @krousey)
- Add support for --image-pull-policy to 'kubectl run' (#30614, @AdoHe)
- x509 authenticator: get groups from subject's organization field (#30392, @ericchiang)
- Add initial support for TokenFile to to the client config file. (#29696, @brendandburns)
- update kubectl help output for better organization (#25524, @AdoHe)
- daemonset controller should respect taints (#31020, @mikedanese)
- Implement TLS bootstrap for kubelet using
--experimental-bootstrap-kubeconfig
(2nd take) (#30922, @yifan-gu)
- rkt: Support subPath volume mounts feature (#30934, @yifan-gu)
- Return container command exit codes in kubectl run/exec (#26541, @sttts)
- Fix kubectl describe to display a container's resource limit env vars as node allocatable when the limits are not set (#29849, @aveshagarwal)
- The
valueFrom.fieldRef.name
field on environment variables in pods and objects with pod templates now allows two additional fields to be used: (#27880, @smarterclayton)
* spec.nodeName
will return the name of the node this pod is running on
* spec.serviceAccountName
will return the name of the service account this pod is running under
- Adding ImagePolicyWebhook admission controller. (#30631, @ecordell)
- Validate involvedObject.Namespace matches event.Namespace (#30533, @liggitt)
- allow group impersonation (#30803, @deads2k)
- Always return command output for exec probes and kubelet RunInContainer (#30731, @ncdc)
- Enable the garbage collector by default (#30480, @caesarxuchao)
- NONE (#30599, @therc)
- use valid_resources to replace kubectl.PossibleResourceTypes (#30955, @lojies)
- oidc auth provider: don't trim issuer URL (#30944, @ericchiang)
- Add a short
-n
for kubectl --namespace
(#30630, @silasbw)
- Federated secret controller (#30669, @kshafiee)
- Add Events for operation_executor to show status of mounts, failed/successful to show in describe events (#27778, @screeley44)
- Alpha support for OpenAPI (aka. Swagger 2.0) specification served on /swagger.json (enabled by default) (#30233, @mbohlool)
- Disable linux/ppc64le compilation by default (#30659, @ixdy)
- Implement dynamic provisioning (beta) of PersistentVolumes via StorageClass (#29006, @jsafrane)
- Allow setting permission mode bits on secrets, configmaps and downwardAPI files (#28936, @rata)
- Skip safe to detach check if node API object no longer exists (#30737, @saad-ali)
- The Kubelet now supports the
--require-kubeconfig
option which reads all client config from the provided --kubeconfig
file and will cause the Kubelet to exit with error code 1 on error. It also forces the Kubelet to use the server URL from the kubeconfig file rather than the --api-servers
flag. Without this flag set, a failure to read the kubeconfig file would only result in a warning message. (#30798, @smarterclayton)
- In a future release, the value of this flag will be defaulted to
true
.
- Adding container image verification webhook API. (#30241, @Q-Lee)
- Nodecontroller doesn't flip readiness on pods if kubeletVersion < 1.2.0 (#30828, @bprashanth)
- AWS: Handle kube-down case where the LaunchConfig is dangling (#30816, @zmerlynn)
- kubectl will no longer do client-side defaulting on create and replace. (#30250, @krousey)
- Added warning msg for
kubectl get
(#28352, @vefimova)
- Removed support for HPA in extensions client. (#30504, @piosz)
- Implement DisruptionController. (#25921, @mml)
- [Kubelet] Check if kubelet is running as uid 0 (#30466, @vishh)
- Fix third party APIResource reporting (#29724, @brendandburns)
- speed up RC scaler (#30383, @deads2k)
- Set pod state as "unknown" when CNI plugin fails (#30137, @nhlfr)
- Cluster Federation components can now be built and deployed using the make command. Please see federation/README.md for details. (#29515, @madhusudancs)
- Adding events to federation control plane (#30421, @nikhiljindal)
- [kubelet] Introduce --protect-kernel-defaults flag to make the tunable behaviour configurable (#27874, @ingvagabund)
- Add support for kube-up.sh to deploy Calico network policy to GCI masters (#29037, @matthewdupre)
- Added 'kubectl top' command showing the resource usage metrics. (#28844, @mksalawa)
- Add basic audit logging (#27087, @soltysh)
- Marked NodePhase deprecated. (#30005, @dchen1107)
- Name the job created by scheduledjob (sj) deterministically with sj's name and a hash of job's scheduled time. (#30420, @janetkuo)
- add metrics for workqueues (#30296, @deads2k)
- Adding ingress resource to federation apiserver (#30112, @nikhiljindal)
- Update Dashboard UI to version v1.1.1 (#30273, @bryk)
- Update etcd 2.2 references to use 3.0.x (#29399, @timothysc)
- HPA: ignore scale targets whose replica count is 0 (#29212, @sjenning)
- Add total inodes to kubelet summary api (#30231, @derekwaynecarr)
- Updates required for juju kubernetes to use the tls-terminated etcd charm. (#30104, @mbruzek)
- Fix PVC.Status.Capacity and AccessModes after binding (#29982, @jsafrane)
- allow a read-only rbd image mounted by multiple pods (#29622, @rootfs)
- [kubelet] Auto-discover node IP if neither cloud provider exists and IP is not explicitly specified (#29907, @luxas)
- kubectl config set-crentials: add arguments for auth providers (#30007, @ericchiang)
- Scheduledjob controller (#29137, @janetkuo)
- add subjectaccessreviews resource (#20573, @deads2k)
- AWS/GCE: Rework use of master name (#30047, @zmerlynn)
- Add density (batch pods creation latency and resource) and resource performance tests to `test-e2e-node' built for Linux only (#30026, @coufon)
- Clean up items from moving local cluster setup guides (#30035, @pwittrock)
- federation: Adding secret API (#29138, @kshafiee)
- Introducing ScheduledJobs as described in the proposal as part of
batch/v2alpha1
version (experimental feature). (#25816, @soltysh)
- Node disk pressure should induce image gc (#29880, @derekwaynecarr)
- oidc authentication plugin: don't trim issuer URLs with trailing slashes (#29860, @ericchiang)
- Allow leading * in ingress hostname (#29204, @aledbf)
- Rewrite service controller to apply best controller pattern (#25189, @mfanjie)
- Fix issue with kubectl annotate when --resource-version is provided. (#29319, @juanvallejo)
- Reverted conversion of influx-db to Pet Set, it is now a Replication Controller. (#30080, @jszczepkowski)
- rbac validation: rules can't combine non-resource URLs and regular resources (#29930, @ericchiang)
- VSAN support for VSphere Volume Plugin (#29172, @abrarshivani)
- Addresses vSphere Volume Attach limits (#29881, @dagnello)
- allow restricting subresource access (#29988, @deads2k)
- Add density (batch pods creation latency and resource) and resource performance tests to `test-e2e-node' (#29764, @coufon)
- Allow Secret & ConfigMap keys to contain caps, dots, and underscores (#25458, @errm)
- allow watching old resources with kubectl (#27392, @sjenning)
- azure: kube-up respects AZURE_RESOURCE_GROUP (#28700, @colemickens)
- Modified influxdb petset to provision persistent volume. (#28840, @jszczepkowski)
- Allow service names up to 63 characters (RFC 1035) (#29523, @fraenkel)
- Change eviction policies in NodeController: (#28897, @gmarek)
-
- add a "partialDisruption" mode, when more than 33% of Nodes in the zone are not Ready
-
- add "fullDisruption" mode, when all Nodes in the zone are not Ready
- Eviction behavior depends on the mode in which NodeController is operating:
-
- if the new state is "partialDisruption" or "fullDisruption" we call a user defined function that returns a new QPS to use (default 1/10 of the default rate, and the default rate respectively),
-
- if the new state is "normal" we resume normal operation (go back to default limiter settings),
-
- if all zones in the cluster are in "fullDisruption" state we stop all evictions.
- Add a flag for
kubectl expose
to set ClusterIP and allow headless services (#28239, @ApsOps)
- Add support to quota pvc storage requests (#28636, @derekwaynecarr)
v1.3.5
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
46be88ce927124f7cef7e280720b42c63051086880b7ebdba298b561dbe19f82 |
Changelog since v1.3.4
Other notable changes
v1.3.4
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
818acc1a8ba61cff434d4c0c5aa3d342d06e6907b565cfd8651b8cfcf3f0a1e6 |
Changelog since v1.3.3
Other notable changes
- NetworkPolicy cherry-pick 1.3 (#29556, @caseydavenport)
- Allow mounts to run in parallel for non-attachable volumes (#28939, @saad-ali)
- add enhanced volume and mount logging for block devices (#24797, @screeley44)
- kube-up: increase download timeout for kubernetes.tar.gz (#29426, @justinsb)
- Fix RBAC authorizer of ServiceAccount (#29071, @albatross0)
- Update docker engine-api to dea108d3aa (#29144, @ronnielai)
- Assume volume is detached if node doesn't exist (#29485, @saad-ali)
- Make PD E2E Tests Wait for Detach to Prevent Kernel Errors (#29031, @saad-ali)
- Fix "PVC Volume not detached if pod deleted via namespace deletion" issue (#29077, @saad-ali)
- append an abac rule for $KUBE_USER. (#29164, @cjcullen)
v1.4.0-alpha.2
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
787ce63a5149a1cb47d14c55450172e3a045d85349682d2e17ff492de9e415b9 |
Changelog since v1.4.0-alpha.1
Action Required
- Federation API server kubeconfig secret consumed by federation-controller-manager has a new name. (#28938, @madhusudancs)
- If you are upgrading your Cluster Federation components from v1.3.x, please run this command to migrate the federation-apiserver-secret to federation-apiserver-kubeconfig serect;
- $ kubectl --namespace=federation get secret federation-apiserver-secret -o json | sed 's/federation-apiserver-secret/federation-apiserver-kubeconfig/g' | kubectl create -f -
- You might also want to delete the old secret using this command:
- $ kubectl delete secret --namespace=federation federation-apiserver-secret
- Stop eating panics (#28800, @lavalamp)
Other notable changes
- Add API for StorageClasses (#29694, @childsb)
- Fix kubectl help command (#29737, @andreykurilin)
- add shorthand cm for configmaps (#29652, @lojies)
- Bump cadvisor dependencies to latest head. (#29492, @Random-Liu)
- If a service of type node port declares multiple ports, quota on "services.nodeports" will charge for each port in the service. (#29457, @derekwaynecarr)
- Add an Azure CloudProvider Implementation (#28821, @colemickens)
- Add support for kubectl create quota command (#28351, @sttts)
- Assume volume is detached if node doesn't exist (#29485, @saad-ali)
- kube-up: increase download timeout for kubernetes.tar.gz (#29426, @justinsb)
- Allow multiple APIs to register for the same API Group (#28414, @brendandburns)
- Fix a problem with multiple APIs clobbering each other in registration. (#28431, @brendandburns)
- Removing images with multiple tags (#29316, @ronnielai)
- add enhanced volume and mount logging for block devices (#24797, @screeley44)
- append an abac rule for $KUBE_USER. (#29164, @cjcullen)
- add tokenreviews endpoint to implement webhook (#28788, @deads2k)
- Fix "PVC Volume not detached if pod deleted via namespace deletion" issue (#29077, @saad-ali)
- Allow mounts to run in parallel for non-attachable volumes (#28939, @saad-ali)
- Fix working_set calculation in kubelet (#29153, @vishh)
- Fix RBAC authorizer of ServiceAccount (#29071, @albatross0)
- kubectl proxy changed to now allow urls to pods with "attach" or "exec" in the pod name (#28765, @nhlfr)
- AWS: Added experimental option to skip zone check (#28417, @kevensen)
- Ubuntu: Enable ssh compression when downloading binaries during cluster creation (#26746, @MHBauer)
- Add extensions/replicaset to federation-apiserver (#24764, @jianhuiz)
- federation: Adding namespaces API (#26298, @nikhiljindal)
- Improve quota controller performance by eliminating unneeded list calls (#29134, @derekwaynecarr)
- Make Daemonset use GeneralPredicates (#28803, @lukaszo)
- Update docker engine-api to dea108d3aa (#29144, @ronnielai)
- Fixing kube-up for CVM masters. (#29140, @maisem)
- Fix logrotate config on GCI (#29139, @adityakali)
- GCE bring-up: Differentiate NODE_TAGS from NODE_INSTANCE_PREFIX (#29141, @zmerlynn)
- hyperkube: fix build for 3rd party registry (again) (#28489, @liyimeng)
- Detect flakes in PR builder e2e runs (#27898, @lavalamp)
- Remove examples moved to docs site (#23513, @erictune)
- Do not query the metadata server to find out if running on GCE. Retry metadata server query for gcr if running on gce. (#28871, @vishh)
- Change maxsize to size in logrotate. (#29128, @bprashanth)
- Change setting "kubectl --record=false" to stop updating the change-cause when a previous change-cause is found. (#28234, @damemi)
- Add "kubectl --overwrite" flag to automatically resolve conflicts between the modified and live configuration using values from the modified configuration. (#26136, @AdoHe)
- Make discovery summarizer call servers in parallel (#26705, @nebril)
- Don't recreate lb cloud resources on kcm restart (#29082, @bprashanth)
- List all nodes and occupy cidr map before starting allocations (#29062, @bprashanth)
- Fix GPU resource validation (#28743, @therc)
- Make PD E2E Tests Wait for Detach to Prevent Kernel Errors (#29031, @saad-ali)
- Scale kube-proxy conntrack limits by cores (new default behavior) (#28876, @thockin)
- [Kubelet] Improving QOS in kubelet by introducing QoS level Cgroups -
--cgroups-per-qos
(#27853, @dubstack)
- AWS: Add ap-south-1 to list of known AWS regions (#28428, @justinsb)
- Add RELEASE_INFRA_PUSH related code to support pushes from kubernetes/release. (#28922, @david-mcmahon)
- Fix watch cache filtering (#28966, @liggitt)
- Deprecate deleting-pods-burst ControllerManager flag (#28882, @gmarek)
- Add support for terminal resizing for exec, attach, and run. Note that for Docker, exec sessions (#25273, @ncdc)
- inherit the environment from the primary process, so if the container was created with tty=false,
- that means the exec session's TERM variable will default to "dumb". Users can override this by
- setting TERM=xterm (or whatever is appropriate) to get the correct "smart" terminal behavior.
- Implement alpha version of PreferAvoidPods (#20699, @jiangyaoguo)
- Retry when apiserver fails to listen on insecure port (#28797, @aaronlevy)
- Add SSH_OPTS to config ssh and scp port (#28872, @lojies)
- kube-up: install new Docker pre-requisite (libltdl7) when not in image (#28745, @justinsb)
- Separate rate limiters for Pod evictions for different zones in NodeController (#28843, @gmarek)
- Add --quiet to hide the 'waiting for pods to be running' message in kubectl run (#28801, @janetkuo)
- Controllers doesn't take any actions when being deleted. (#27438, @gmarek)
- Add "deploy" abbrev for deployments to kubectl (#24087, @Frostman)
- --no-header available now for custom-column (#26696, @gitfred)
v1.3.3
Documentation & Examples
Downloads
binary |
sha256 hash |
kubernetes.tar.gz |
a92a74a0d3f7d02d01ac2c8dfb5ee2e97b0485819e77b2110eb7c6b7c782478c |
Changelog since v1.3.2
Other notable changes
- Removing images with multiple tags (#29316, @ronnielai)
- kubectl: don't display an empty list when trying to get a single resource that isn't found (#28294, @ncdc)
- Fix working_set calculation in kubelet (#29154, @vishh)
- Don't delete affinity when endpoints are empty (#28655, @freehan)
- GCE bring-up: Differentiate NODE_TAGS from NODE_INSTANCE_PREFIX (#29141, @zmerlynn)
- Fix logrotate config on GCI (#29139, @adityakali)
- Do not query the metadata server to find out if running on GCE. Retry metadata server query for gcr if running on gce. (#28871, @vishh)
- Fix GPU resource validation (#28743, @therc)
- Scale kube-proxy conntrack limits by cores (new default behavior) (#28876, @thockin)
- Don't recreate lb cloud resources on kcm restart (#29082, @bprashanth)
Known Issues
There are a number of known issues that have been found and are being worked on.
Please be aware of them as you test your workloads.
- PVC Volume not detached if pod deleted via namespace deletion (29051)
- Google Compute Engine PD Detach fails if node no longer exists (29358)
- Mounting (only 'default-token') volume takes a long time when creating a batch of pods (parallelization issue) (28616)
- Error while tearing down pod, "device or resource busy" on service account secret (28750)
v1.3.2
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
f46664d04dc2966c77d8727bba57f57b5f917572 |
1a5b0639941054585d0432dd5ce3abc7 |
Changelog since v1.3.1
Other notable changes
v1.3.1
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
5645b12beda22137204439de8260c62c9925f89b |
ae6e9902ec70c1322d9a0a29ef385190 |
Changelog since v1.3.0
Other notable changes
v1.2.6
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
50023455d00af52c41a7158b4bd117b2dfd4a100 |
cf0411bcb620eb13b08b93578efffc43 |
Changelog since v1.2.5
Other notable changes
v1.4.0-alpha.1
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
11a199208c5164a291c1767a1b9e64e45fdea747 |
334f349daf9268d8ac091d7fcc8e4626 |
Changelog since v1.3.0
Experimental Features
- An alpha implementation of the TLS bootstrap API described in docs/proposals/kubelet-tls-bootstrap.md. (#25562, @gtank)
Action Required
- [kubelet] Allow opting out of automatic cloud provider detection in kubelet. By default kubelet will auto-detect cloud providers (#28258, @vishh)
- If you use one of the kube-dns replication controller manifest in
cluster/saltbase/salt/kube-dns
, i.e. cluster/saltbase/salt/kube-dns/{skydns-rc.yaml.base,skydns-rc.yaml.in}
, either substitute one of __PILLAR__FEDERATIONS__DOMAIN__MAP__
or {{ pillar['federations_domain_map'] }}
with the corresponding federation name to domain name value or remove them if you do not support cluster federation at this time. If you plan to substitute the parameter with its value, here is an example for {{ pillar['federations_domain_map'] }
(#28132, @madhusudancs)
- pillar['federations_domain_map'] = "- --federations=myfederation=federation.test"
- where
myfederation
is the name of the federation and federation.test
is the domain name registered for the federation.
- Proportionally scale paused and rolling deployments (#20273, @kargakis)
Other notable changes
- Support --all-namespaces in kubectl describe (#26315, @dims)
- Add checks in Create and Update Cgroup methods (#28566, @dubstack)
- Update coreos node e2e image to a version that uses cgroupfs (#28661, @dubstack)
- Don't delete affinity when endpoints are empty (#28655, @freehan)
- Enable memory based pod evictions by default on the kubelet. (#28607, @derekwaynecarr)
- Trigger pod eviction when available memory falls below 100Mi.
- Enable extensions/v1beta1/NetworkPolicy by default (#28549, @caseydavenport)
- MESOS: Support a pre-installed km binary at a well known, agent-local path (#28447, @k82cn)
- kubectl should print usage at the bottom (#25640, @dims)
- A new command "kubectl config get-contexts" has been added. (#25463, @asalkeld)
- kubectl: ignore only update conflicts in the scaler (#27048, @kargakis)
- Declare out of disk when there is no free inodes (#28176, @ronnielai)
- Includes the number of free inodes in stat summary (#28173, @ronnielai)
- kubectl: don't display an empty list when trying to get a single resource that isn't found (#28294, @ncdc)
- Graceful deletion bumps object's generation (#27269, @gmarek)
- Allow specifying secret data using strings (#28263, @liggitt)
- kubectl help now provides "Did you mean this?" suggestions for typo/invalid command names. (#27049, @andreykurilin)
- Lock all possible kubecfg files at the beginning of ModifyConfig. (#28232, @cjcullen)
- Enable HTTP2 by default (#28114, @timothysc)
- Influxdb migrated to PetSet and PersistentVolumes. (#28109, @jszczepkowski)
- Change references to gs://kubernetes-release/ci (#28193, @zmerlynn)
- Build: Add KUBE_GCS_RELEASE_BUCKET_MIRROR option to push-ci-build.sh (#28172, @zmerlynn)
- Skip multi-zone e2e tests unless provider is GCE, GKE or AWS (#27871, @lukaszo)
- Making DHCP_OPTION_SET_ID creation optional (#27278, @activars)
- Convert service account token controller to use a work queue (#23858, @liggitt)
- Adding OWNERS for federation (#28042, @nikhiljindal)
- Modifying the default container GC policy parameters (#27881, @ronnielai)
- Kubelet can retrieve host IP even when apiserver has not been contacted (#27508, @aaronlevy)
- Add the Patch method to the generated clientset. (#27293, @caesarxuchao)
- let patch use --local flag like
kubectl set image
(#26722, @deads2k)
- enable recursive processing in kubectl edit (#25085, @metral)
- Image GC logic should compensate for reserved blocks (#27996, @ronnielai)
- Bump minimum API version for docker to 1.21 (#27208, @yujuhong)
- Adding lock files for kubeconfig updating (#28034, @krousey)
v1.3.0
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
88249c443d438666928379aa7fe865b389ed72ea |
9270f001aef8c03ff5db63456ca9eecc |
Highlights
- Authorization:
- Alpha RBAC authorization API group
- Federation
- federation api group is now beta
- Services from all federated clusters are now registered in Cloud DNS (AWS and GCP).
- Stateful Apps:
- alpha PetSets manage stateful apps
- alpha Init containers provide one-time setup for stateful containers
- Updating:
- Retry Pod/RC updates in kubectl rolling-update.
- Stop 'kubectl drain' deleting pods with local storage.
- Add
kubectl rollout status
- Security/Auth
- L7 LB controller and disk attach controllers run on master, so nodes do not need those privileges.
- Setting TLS1.2 minimum
kubectl create secret tls
command
- Webhook Token Authenticator
- beta PodSecurityPolicy objects limits use of security-sensitive features by pods.
- Kubectl
- Display line number on JSON errors
- Add flag -t as shorthand for --tty
- Resources
- Improved node stability by optionally evicting pods upon memory pressure - Design Doc
- alpha: NVIDIA GPU support (#24836, @therc)
- Adding loadBalancer services and nodeports services to quota system
Known Issues and Important Steps before Upgrading
The following versions of Docker Engine are supported - v1.10, v1.11
Although v1.9 is still compatible, we recommend upgrading to one of the supported versions.
All prior versions of docker will not be supported.
ThirdPartyResource
If you use ThirdPartyResource objects, they have moved from being namespaced-scoped to be cluster-scoped. Before upgrading to 1.3.0, export and delete any existing ThirdPartyResource objects using a 1.2.x client:
kubectl get thirdpartyresource --all-namespaces -o yaml > tprs.yaml
kubectl delete -f tprs.yaml
After upgrading to 1.3.0, re-register the third party resource objects at the root scope (using a 1.3 server and client):
kubectl create -f tprs.yaml
kubectl
Kubectl flag --container-port
flag is deprecated: it will be removed in the future, please use --target-port
instead.
kubernetes Core Known Issues
- Kube Proxy crashes infrequently due to a docker bug (#24000)
- This issue can be resolved by restarting docker daemon
- CORS works only in insecure mode (#24086)
- Persistent volume claims gets added incorrectly after being deleted under stress. Happens very infrequently. (#26082)
Docker runtime Known Issues
-
Kernel crash with Aufs storage driver on Debian Jessie (#27885)
-
File descriptors are leaked in docker v1.11 (#275)
-
Additional memory overhead per container in docker v1.11 (#21737)
-
List of upstream fixes for docker v1.10 identified by RedHat
Rkt runtime Known Issues
- A detailed list of known issues can be found here
More Instructions coming soon
Provider-specific Notes
- AWS
- Support for ap-northeast-2 region (Seoul)
- Allow cross-region image pulling with ECR
- More reliable kube-up/kube-down
- Enable ICMP Type 3 Code 4 for ELBs
- ARP caching fix
- Use /dev/xvdXX names
- ELB:
- ELB proxy protocol support
- mixed plaintext/encrypted ports support in ELBs
- SSL support for ELB listeners
- Allow VPC CIDR to be specified (experimental)
- Fix problems with >2 security groups
- GCP:
- Enable using gcr.io as a Docker registry mirror.
- Make bigger master root disks in GCE for large clusters.
- Change default clusterCIDRs from /16 to /14 allowing 1000 Node clusters by default.
- Allow Debian Jessie on GCE.
- Node problem detector addon pod detects and reports kernel deadlocks.
- OpenStack
- VSphere:
Previous Releases Included in v1.3.0
v1.3.0-beta.3
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
9d18964a294f356bfdc841957dcad8ff35ed909c |
ee5fcdf86645135ed132663967876dd6 |
Changelog since v1.3.0-beta.2
Action Required
- [kubelet] Allow opting out of automatic cloud provider detection in kubelet. By default kubelet will auto-detect cloud providers (#28258, @vishh)
- If you use one of the kube-dns replication controller manifest in
cluster/saltbase/salt/kube-dns
, i.e. cluster/saltbase/salt/kube-dns/{skydns-rc.yaml.base,skydns-rc.yaml.in}
, either substitute one of __PILLAR__FEDERATIONS__DOMAIN__MAP__
or {{ pillar['federations_domain_map'] }}
with the corresponding federation name to domain name value or remove them if you do not support cluster federation at this time. If you plan to substitute the parameter with its value, here is an example for {{ pillar['federations_domain_map'] }
(#28132, @madhusudancs)
- pillar['federations_domain_map'] = "- --federations=myfederation=federation.test"
- where
myfederation
is the name of the federation and federation.test
is the domain name registered for the federation.
- federation: Upgrading the groupversion to v1beta1 (#28186, @nikhiljindal)
- Set Dashboard UI version to v1.1.0 (#27869, @bryk)
Other notable changes
- Build: Add KUBE_GCS_RELEASE_BUCKET_MIRROR option to push-ci-build.sh (#28172, @zmerlynn)
- Image GC logic should compensate for reserved blocks (#27996, @ronnielai)
- Bump minimum API version for docker to 1.21 (#27208, @yujuhong)
- Adding lock files for kubeconfig updating (#28034, @krousey)
- federation service controller: fixing the logic to update DNS records (#27999, @quinton-hoole)
- federation: Updating KubeDNS to try finding a local service first for federation query (#27708, @nikhiljindal)
- Support journal logs in fluentd-gcp on GCI (#27981, @a-robinson)
- Copy and display source location prominently on Kubernetes instances (#27985, @maisem)
- Federation e2e support for AWS (#27791, @colhom)
- Copy and display source location prominently on Kubernetes instances (#27840, @zmerlynn)
- AWS/GCE: Spread PetSet volume creation across zones, create GCE volumes in non-master zones (#27553, @justinsb)
- GCE provider: Create TargetPool with 200 instances, then update with rest (#27829, @zmerlynn)
- Add sources to server tarballs. (#27830, @david-mcmahon)
- Retry Pod/RC updates in kubectl rolling-update (#27509, @janetkuo)
- AWS kube-up: Authorize route53 in the IAM policy (#27794, @justinsb)
- Allow conformance tests to run on non-GCE providers (#26932, @aaronlevy)
- AWS kube-up: move to Docker 1.11.2 (#27676, @justinsb)
- Fixed an issue that Deployment may be scaled down further than allowed by maxUnavailable when minReadySeconds is set. (#27728, @janetkuo)
v1.2.5
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
ddf12d7f37dfef25308798d71ad547761d0785ac |
69d770df8fa4eceb57167e34df3962ca |
Changes since v1.2.4
Other notable changes
- Retry Pod/RC updates in kubectl rolling-update (#27509, @janetkuo)
- GCE provider: Create TargetPool with 200 instances, then update with rest (#27865, @zmerlynn)
- GCE provider: Limit Filter calls to regexps rather than large blobs (#27741, @zmerlynn)
- Fix strategic merge diff list diff bug (#26418, @AdoHe)
- AWS: Fix long-standing bug in stringSetToPointers (#26331, @therc)
- AWS kube-up: Increase timeout waiting for docker start (#25405, @justinsb)
- Fix hyperkube flag parsing (#25512, @colhom)
- kubectl rolling-update support for same image (#24645, @jlowdermilk)
- Return "410 Gone" errors via watch stream when using watch cache (#25369, @liggitt)
v1.3.0-beta.2
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
9c95762970b943d6c6547f0841c1e5471148b0e3 |
dc9e8560f24459b2313317b15910bee7 |
Changes since v1.3.0-beta.1
Experimental Features
- Init containers enable pod authors to perform tasks before their normal containers start. Each init container is started in order, and failing containers will prevent the application from starting. (#23666, @smarterclayton)
Other notable changes
- GCE provider: Limit Filter calls to regexps rather than large blobs (#27741, @zmerlynn)
- Show LASTSEEN, the sorting key, as the first column in
kubectl get event
output (#27549, @therc)
- GCI: fix kubectl permission issue #27643 (#27740, @andyzheng0831)
- Add federation api and cm servers to hyperkube (#27586, @colhom)
- federation: Creating kubeconfig files to be used for creating secrets for clusters on aws and gke (#27332, @nikhiljindal)
- AWS: Enable ICMP Type 3 Code 4 for ELBs (#27677, @justinsb)
- Bumped Heapster to v1.1.0. (#27542, @piosz)
- Deleting federation-push.sh (#27400, @nikhiljindal)
- Validate-cluster finishes shortly after at most ALLOWED_NOTREADY_NODE… (#26778, @gmarek)
- AWS kube-down: Issue warning if VPC not found (#27518, @justinsb)
- gce/kube-down: Parallelize IGM deletion, batch more (#27302, @zmerlynn)
- Enable dynamic allocation of heapster/eventer cpu request/limit (#27185, @gmarek)
- 'kubectl describe pv' now shows events (#27431, @jsafrane)
- AWS kube-up: set net.ipv4.neigh.default.gc_thresh1=0 to avoid ARP over-caching (#27682, @justinsb)
- AWS volumes: Use /dev/xvdXX names with EC2 (#27628, @justinsb)
- Add a test config variable to specify desired Docker version to run on GCI. (#26813, @wonderfly)
- Check for thin_is binary in path for devicemapper when using ThinPoolWatcher and fix uint64 overflow issue for CPU stats (#27591, @dchen1107)
- Change default value of deleting-pods-burst to 1 (#27606, @gmarek)
- MESOS: fix race condition in contrib/mesos/pkg/queue/delay (#24916, @jdef)
- including federation binaries in the list of images we push during release (#27396, @nikhiljindal)
- fix updatePod() of RS and RC controllers (#27415, @caesarxuchao)
- Change default value of deleting-pods-burst to 1 (#27422, @gmarek)
- A new volume manager was introduced in kubelet that synchronizes volume mount/unmount (and attach/detach, if attach/detach controller is not enabled). (#26801, @saad-ali)
- This eliminates the race conditions between the pod creation loop and the orphaned volumes loops. It also removes the unmount/detach from the
syncPod()
path so volume clean up never blocks the syncPod
loop.
v1.3.0-beta.1
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
2b54995ee8f52d78dc31c3d7291e8dfa5c809fe7 |
f1022a84c3441cae4ebe1d295470be8f |
Changes since v1.3.0-alpha.5
Action Required
- Fixing logic to generate ExternalHost in genericapiserver (#26796, @nikhiljindal)
- federation: Updating federation-controller-manager to use secret to get federation-apiserver's kubeconfig (#26819, @nikhiljindal)
Other notable changes
- federation: fix dns provider initialization issues (#27252, @mfanjie)
- Updating federation up scripts to work in non e2e setup (#27260, @nikhiljindal)
- version bump for gci to milestone 53 (#27210, @adityakali)
- kubectl apply: retry applying a patch if a version conflict error is encountered (#26557, @AdoHe)
- Revert "Wait for arc.getArchive() to complete before running tests" (#27130, @pwittrock)
- ResourceQuota BestEffort scope aligned with Pod level QoS (#26969, @derekwaynecarr)
- The AWS cloudprovider will cache results from DescribeInstances() if the set of nodes hasn't changed (#26900, @therc)
- GCE provider: Log full contents of long operations (#26962, @zmerlynn)
- Fix system container detection in kubelet on systemd. (#26586, @derekwaynecarr)
- This fixed environments where CPU and Memory Accounting were not enabled on the unit that launched the kubelet or docker from reporting the root cgroup when monitoring usage stats for those components.
- New default horizontalpodautoscaler/v1 generator for kubectl autoscale. (#26775, @piosz)
- Use autoscaling/v1 in kubectl by default.
- federation: Adding dnsprovider flags to federation-controller-manager (#27158, @nikhiljindal)
- federation service controller: fixing a bug so that existing services are created in newly registered clusters (#27028, @mfanjie)
- Rename environment variables (KUBE_)ENABLE_NODE_AUTOSCALER to (KUBE_)ENABLE_CLUSTER_AUTOSCALER. (#27117, @mwielgus)
- support for mounting local-ssds on GCI (#27143, @adityakali)
- AWS: support mixed plaintext/encrypted ports in ELBs via service.beta.kubernetes.io/aws-load-balancer-ssl-ports annotation (#26976, @therc)
- Updating e2e docs with instructions on running federation tests (#27072, @colhom)
- LBaaS v2 Support for Openstack Cloud Provider Plugin (#25987, @dagnello)
- GCI: add support for network plugin (#27027, @andyzheng0831)
- Bump cAdvisor to v0.23.3 (#27065, @timstclair)
- Stop 'kubectl drain' deleting pods with local storage. (#26667, @mml)
- Networking e2es: Wait for all nodes to be schedulable in kubeproxy and networking tests (#27008, @zmerlynn)
- change clientset of service controller to versioned (#26694, @mfanjie)
- Use gcr.io as a Docker registry mirror when setting up a cluster in GCE. (#25841, @ojarjur)
- correction on rbd volume object and defaults (#25490, @rootfs)
- Bump GCE debian image to container-v1-3-v20160604 (#26851, @zmerlynn)
- Option to enable http2 on client connections. (#25280, @timothysc)
- kubectl get ingress output remove rules (#26684, @AdoHe)
- AWS kube-up: Remove SecurityContextDeny admission controller (to mirror GCE) (#25381, @zquestz)
- Fix third party (#25894, @brendandburns)
- AWS Route53 dnsprovider (#26049, @quinton-hoole)
- GCI/Trusty: support the Docker registry mirror (#26745, @andyzheng0831)
- Kubernetes v1.3 introduces a new Attach/Detach Controller. This controller manages attaching and detaching of volumes on-behalf of nodes. (#26351, @saad-ali)
- This ensures that attachment and detachment of volumes is independent of any single nodes’ availability. Meaning, if a node or kubelet becomes unavailable for any reason, the volumes attached to that node will be detached so they are free to be attached to other nodes.
- Specifically the new controller watches the API server for scheduled pods. It processes each pod and ensures that any volumes that implement the volume Attacher interface are attached to the node their pod is scheduled to.
- When a pod is deleted, the controller waits for the volume to be safely unmounted by kubelet. It does this by waiting for the volume to no longer be present in the nodes Node.Status.VolumesInUse list. If the volume is not safely unmounted by kubelet within a pre-configured duration (3 minutes in Kubernetes v1.3), the controller unilaterally detaches the volume (this prevents volumes from getting stranded on nodes that become unavailable).
- In order to remain backwards compatible, the new controller only manages attach/detach of volumes that are scheduled to nodes that opt-in to controller management. Nodes running v1.3 or higher of Kubernetes opt-in to controller management by default by setting the "volumes.kubernetes.io/controller-managed-attach-detach" annotation on the Node object on startup. This behavior is gated by a new kubelet flag, "enable-controller-attach-detach,” (default true).
- In order to safely upgrade an existing Kubernetes cluster without interruption of volume attach/detach logic:
- First upgrade the master to Kubernetes v1.3.
- This will start the new attach/detach controller.
- The new controller will initially ignore volumes for all nodes since they lack the "volumes.kubernetes.io/controller-managed-attach-detach" annotation.
- Then upgrade nodes to Kubernetes v1.3.
- As nodes are upgraded, they will automatically, by default, opt-in to attach/detach controller management, which will cause the controller to start managing attaches/detaches for volumes that get scheduled to those nodes.
- Added DNS Reverse Record logic for service IPs (#26226, @ArtfulCoder)
- read gluster log to surface glusterfs plugin errors properly in describe events (#24808, @screeley44)
v1.3.0-alpha.5
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
724bf5a4437ca9dc75d9297382f47a179e8dc5a6 |
2a8b4a5297df3007fce69f1e344fd87e |
Changes since v1.3.0-alpha.4
Action Required
Other notable changes
- Fix a bug with pluralization of third party resources (#25374, @brendandburns)
- Run l7 controller on master (#26048, @bprashanth)
- AWS: ELB proxy protocol support via annotation service.beta.kubernetes.io/aws-load-balancer-proxy-protocol (#24569, @williamsandrew)
- kubectl run --restart=Never creates pods (#25253, @soltysh)
- Add LabelSelector to PersistentVolumeClaimSpec (#25917, @pmorie)
- Removed metrics api group (#26073, @piosz)
- Fixed check in kubectl autoscale: cpu consumption can be higher than 100%. (#26162, @jszczepkowski)
- Add support for 3rd party objects to kubectl label (#24882, @brendandburns)
- Move shell completion generation into 'kubectl completion' command (#23801, @sttts)
- Fix strategic merge diff list diff bug (#26418, @AdoHe)
- Setting TLS1.2 minimum because TLS1.0 and TLS1.1 are vulnerable (#26169, @victorgp)
- Kubelet: Periodically reporting image pulling progress in log (#26145, @Random-Liu)
- Federation service controller is one key component of federation controller manager, it watches federation service, creates/updates services to all registered clusters, and update DNS records to global DNS server. (#26034, @mfanjie)
- Stabilize map order in kubectl describe (#26046, @timoreimann)
- Google Cloud DNS dnsprovider - replacement for #25389 (#26020, @quinton-hoole)
- Fix system container detection in kubelet on systemd. (#25982, @derekwaynecarr)
- This fixed environments where CPU and Memory Accounting were not enabled on the unit
- that launched the kubelet or docker from reporting the root cgroup when
- monitoring usage stats for those components.
- Added pods-per-core to kubelet. #25762 (#25813, @rrati)
- promote sourceRange into service spec (#25826, @freehan)
- kube-controller-manager: Add configure-cloud-routes option (#25614, @justinsb)
- kubelet: reading cloudinfo from cadvisor (#21373, @enoodle)
- Disable cAdvisor event storage by default (#24771, @timstclair)
- Remove docker-multinode (#26031, @luxas)
- nodecontroller: Fix log message on successful update (#26207, @zmerlynn)
- remove deprecated generated typed clients (#26336, @caesarxuchao)
- Kubenet host-port support through iptables (#25604, @freehan)
- Add metrics support for a GCE PD, EC2 EBS & Azure File volumes (#25852, @vishh)
- Bump cAdvisor to v0.23.2 - See changelog for details (#25914, @timstclair)
- Alpha version of "Role Based Access Control" API. (#25634, @ericchiang)
- Add Seccomp API (#25324, @jfrazelle)
- AWS: Fix long-standing bug in stringSetToPointers (#26331, @therc)
- Add dnsmasq as a DNS cache in kube-dns pod (#26114, @ArtfulCoder)
- routecontroller: Add wait.NonSlidingUntil, use it (#26301, @zmerlynn)
- Attempt 2: Bump GCE containerVM to container-v1-3-v20160517 (Docker 1.11.1) again. (#26001, @dchen1107)
- Downward API implementation for resources limits and requests (#24179, @aveshagarwal)
- GCE clusters start using GCI as the default OS image for masters (#26197, @wonderfly)
- Add a 'kubectl clusterinfo dump' option (#20672, @brendandburns)
- Fixing heapster memory requirements. (#26109, @Q-Lee)
- Handle federated service name lookups in kube-dns. (#25727, @madhusudancs)
- Support sort-by timestamp in kubectl get (#25600, @janetkuo)
- vSphere Volume Plugin Implementation (#24947, @abithap)
- ResourceQuota controller uses rate limiter to prevent hot-loops in error situations (#25748, @derekwaynecarr)
- Fix hyperkube flag parsing (#25512, @colhom)
- Add a kubectl create secret tls command (#24719, @bprashanth)
- Introduce a new add-on pod NodeProblemDetector. (#25986, @Random-Liu)
- NodeProblemDetector is a DaemonSet running on each node, monitoring node health and reporting
- node problems as NodeCondition and Event. Currently it already supports kernel log monitoring, and
- will support more problem detection in the future. It is enabled by default on gce now.
- Handle cAdvisor partial failures (#25933, @timstclair)
- Use SkyDNS as a library for a more integrated kube DNS (#23930, @ArtfulCoder)
- Introduce node memory pressure condition to scheduler (#25531, @ingvagabund)
- Fix detection of docker cgroup on RHEL (#25907, @ncdc)
- Kubelet evicts pods when available memory falls below configured eviction thresholds (#25772, @derekwaynecarr)
- Use protobufs by default to communicate with apiserver (still store JSONs in etcd) (#25738, @wojtek-t)
- Implement NetworkPolicy v1beta1 API object / client support. (#25638, @caseydavenport)
- Only expose top N images in
NodeStatus
(#25328, @resouer)
- Extend secrets volumes with path control (#25285, @ingvagabund)
- With this PR, kubectl and other RestClient's using the AuthProvider framework can make OIDC authenticated requests, and, if there is a refresh token present, the tokens will be refreshed as needed. (#25270, @bobbyrullo)
- Make addon-manager cross-platform and use it with hyperkube (#25631, @luxas)
- kubelet: Optionally, have kubelet exit if lock file contention is observed, using --exit-on-lock-contention flag (#25596, @derekparker)
- Bump up glbc version to 0.6.2 (#25446, @bprashanth)
- Add "kubectl set image" for easier updating container images (for pods or resources with pod templates). (#25509, @janetkuo)
- NodeController doesn't evict Pods if no Nodes are Ready (#25571, @gmarek)
- Incompatible change of kube-up.sh: (#25734, @jszczepkowski)
- when turning on cluster autoscaler by setting KUBE_ENABLE_NODE_AUTOSCALER=true,
- KUBE_AUTOSCALER_MIN_NODES and KUBE_AUTOSCALER_MAX_NODES need to be set.
- systemd node spec proposal (#17688, @derekwaynecarr)
- Bump GCE ContainerVM to container-v1-3-v20160517 (Docker 1.11.1) (#25843, @zmerlynn)
- AWS: Move enforcement of attached AWS device limit from kubelet to scheduler (#23254, @jsafrane)
- Refactor persistent volume controller (#24331, @jsafrane)
- Add support for running GCI on the GCE cloud provider (#25425, @andyzheng0831)
- Implement taints and tolerations (#24134, @kevin-wangzefeng)
- Add init containers to pods (#23567, @smarterclayton)
v1.3.0-alpha.4
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
758e97e7e50153840379ecd9f8fda1869543539f |
4e18ae6a428c99fcc30e2137d7c41854 |
Changes since v1.3.0-alpha.3
Action Required
Other notable changes
- Fix hyperkube's layer caching, and remove --make-symlinks at build time (#25693, @luxas)
- AWS: More support for ap-northeast-2 region (#24464, @matthewrudy)
- Make bigger master root disks in GCE for large clusters (#25670, @gmarek)
- AWS kube-down: don't fail if ELB not in VPC - #23784 (#23785, @ajohnstone)
- Build hyperkube in hack/local-up-cluster instead of separate binaries (#25627, @luxas)
- enable recursive processing in kubectl rollout (#25110, @metral)
- Support struct,array,slice types when sorting kubectl output (#25022, @zhouhaibing089)
- federated api servers: Adding a discovery summarizer server (#20358, @nikhiljindal)
- AWS: Allow cross-region image pulling with ECR (#24369, @therc)
- Automatically add node labels beta.kubernetes.io/{os,arch} (#23684, @luxas)
- kubectl "rm" will suggest using "delete"; "ps" and "list" will suggest "get". (#25181, @janetkuo)
- Add IPv6 address support for pods - does NOT include services (#23090, @tgraf)
- Use local disk for ConfigMap volume instead of tmpfs (#25306, @pmorie)
- Alpha support for scheduling pods on machines with NVIDIA GPUs whose kubelets use the
--experimental-nvidia-gpus
flag, using the alpha.kubernetes.io/nvidia-gpu resource (#24836, @therc)
- AWS: SSL support for ELB listeners through annotations (#23495, @therc)
- Implement
kubectl rollout status
that can be used to watch a deployment's rollout status (#19946, @janetkuo)
- Webhook Token Authenticator (#24902, @cjcullen)
- Update PodSecurityPolicy types and add admission controller that could enforce them (#24600, @pweil-)
- Introducing ScheduledJobs as described in the proposal as part of
batch/v2alpha1
version (experimental feature). (#24970, @soltysh)
- kubectl now supports validation of nested objects with different ApiGroups (e.g. objects in a List) (#25172, @pwittrock)
- Change default clusterCIDRs from /16 to /14 in GCE configs allowing 1000 Node clusters by default. (#25350, @gmarek)
- Add 'kubectl set' (#25444, @janetkuo)
- vSphere Cloud Provider Implementation (#24703, @dagnello)
- Added JobTemplate, a preliminary step for ScheduledJob and Workflow (#21675, @soltysh)
- Openstack provider (#21737, @zreigz)
- AWS kube-up: Allow VPC CIDR to be specified (experimental) (#23362, @miguelfrde)
- Return "410 Gone" errors via watch stream when using watch cache (#25369, @liggitt)
- GKE provider: Add cluster-ipv4-cidr and arbitrary flags (#25437, @zmerlynn)
- AWS kube-up: Increase timeout waiting for docker start (#25405, @justinsb)
- Sort resources in quota errors to avoid duplicate events (#25161, @derekwaynecarr)
- Display line number on JSON errors (#25038, @mfojtik)
- If the cluster node count exceeds the GCE TargetPool maximum (currently 1000), (#25178, @zmerlynn)
- randomly select which nodes are members of Kubernetes External Load Balancers.
- Clarify supported version skew between masters, nodes, and clients (#25087, @ihmccreery)
- Move godeps to vendor/ (#24242, @thockin)
- Introduce events flag for describers (#24554, @ingvagabund)
- run kube-addon-manager in a static pod (#23600, @mikedanese)
- Reimplement 'pause' in C - smaller footprint all around (#23009, @uluyol)
- Add subPath to mount a child dir or file of a volumeMount (#22575, @MikaelCluseau)
- Handle image digests in node status and image GC (#25088, @ncdc)
- PLEG: reinspect pods that failed prior inspections (#25077, @ncdc)
- Fix kubectl create secret/configmap to allow = values (#24989, @derekwaynecarr)
- Upgrade installed packages when building hyperkube to improve the security profile (#25114, @aaronlevy)
- GCI/Trusty: Support ABAC authorization (#24950, @andyzheng0831)
- fix cinder volume dir umount issue #24717 (#24718, @chengyli)
- Inter pod topological affinity and anti-affinity implementation (#22985, @kevin-wangzefeng)
- start etcd compactor in background (#25010, @hongchaodeng)
- GCI: Add two GCI specific metadata pairs (#25105, @andyzheng0831)
- Ensure status is not changed during an update of PV, PVC, HPA objects (#24924, @mqliang)
- GCE: Prefer preconfigured node tags for firewalls, if available (#25148, @a-robinson)
- kubectl rolling-update support for same image (#24645, @jlowdermilk)
- Add an entry to the salt config to allow Debian jessie on GCE. (#25123, @jlewi)
- As with the existing Wheezy image on GCE, docker is expected
- to already be installed in the image.
- Mark kube-push.sh as broken (#25095, @ihmccreery)
- AWS: Add support for ap-northeast-2 region (Seoul) (#24457, @leokhoa)
- GCI: Update the command to get the image (#24987, @andyzheng0831)
- Port-forward: use out and error streams instead of glog (#17030, @csrwng)
- Promote Pod Hostname & Subdomain to fields (were annotations) (#24362, @ArtfulCoder)
- Validate deletion timestamp doesn't change on update (#24839, @liggitt)
- Add flag -t as shorthand for --tty (#24365, @janetkuo)
- Add support for running clusters on GCI (#24893, @andyzheng0831)
- Switch to ABAC authorization from AllowAll (#24210, @cjcullen)
- Fix DeletingLoadBalancer event generation. (#24833, @a-robinson)
v1.2.4
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
f3aea83f8f0e16b2b41998a2edc09eb42fd8d945 |
ab0aca3a20e8eba43c8ff9d672793618 |
Changes since v1.2.3
Other notable changes
- Ensure status is not changed during an update of PV, PVC, HPA objects (#24924, @mqliang)
- GCI: Add two GCI specific metadata pairs (#25105, @andyzheng0831)
- Add an entry to the salt config to allow Debian jessie on GCE. (#25123, @jlewi)
- As with the existing Wheezy image on GCE, docker is expected
- to already be installed in the image.
- Fix DeletingLoadBalancer event generation. (#24833, @a-robinson)
- GCE: Prefer preconfigured node tags for firewalls, if available (#25148, @a-robinson)
- Drain pods created from ReplicaSets in 'kubectl drain' (#23689, @maclof)
- GCI: Update the command to get the image (#24987, @andyzheng0831)
- Validate deletion timestamp doesn't change on update (#24839, @liggitt)
- Add support for running clusters on GCI (#24893, @andyzheng0831)
- Trusty: Add retry in curl commands (#24749, @andyzheng0831)
v1.3.0-alpha.3
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
01e0dc68653173614dc99f44875173478f837b38 |
ae22c35f3a963743d21daa17683e0288 |
Changes since v1.3.0-alpha.2
Action Required
- Updating go-restful to generate "type":"object" instead of "type":"any" in swagger-spec (breaks kubectl 1.1) (#22897, @nikhiljindal)
- Make watch cache treat resourceVersion consistent with uncached watch (#24008, @liggitt)
Other notable changes
- Trusty: Add retry in curl commands (#24749, @andyzheng0831)
- Collect and expose runtime's image storage usage via Kubelet's /stats/summary endpoint (#23595, @vishh)
- Adding loadBalancer services to quota system (#24247, @sdminonne)
- Enforce --max-pods in kubelet admission; previously was only enforced in scheduler (#24674, @gmarek)
- All clients under ClientSet share one RateLimiter. (#24166, @gmarek)
- Remove requirement that Endpoints IPs be IPv4 (#23317, @aanm)
- Fix unintended change of Service.spec.ports[].nodePort during kubectl apply (#24180, @AdoHe)
- Don't log private SSH key (#24506, @timstclair)
- Incremental improvements to kubelet e2e tests (#24426, @pwittrock)
- Bridge off-cluster traffic into services by masquerading. (#24429, @cjcullen)
- Flush conntrack state for removed/changed UDP Services (#22573, @freehan)
- Allow setting the Host header in a httpGet probe (#24292, @errm)
- Fix goroutine leak in ssh-tunnel healthcheck. (#24487, @cjcullen)
- Fix gce.getDiskByNameUnknownZone logic. (#24452, @a-robinson)
- Make etcd cache size configurable (#23914, @jsravn)
- Drain pods created from ReplicaSets in 'kubectl drain' (#23689, @maclof)
- Make kubectl edit not convert GV on edits (#23437, @DirectXMan12)
- don't ship kube-registry-proxy and pause images in tars. (#23605, @mikedanese)
- Do not throw creation errors for containers that fail immediately after being started (#23894, @vishh)
- Add a client flag to delete "--now" for grace period 0 (#23756, @smarterclayton)
- add act-as powers (#23549, @deads2k)
- Build Kubernetes, etcd and flannel for arm64 and ppc64le (#23931, @luxas)
- Honor starting resourceVersion in watch cache (#24208, @ncdc)
- Update the pause image to build for arm64 and ppc64le (#23697, @luxas)
- Return more useful error information when a persistent volume fails to mount (#23122, @screeley44)
- Trusty: Avoid unnecessary in-memory temp files (#24144, @andyzheng0831)
- e2e: fix error checking in kubelet stats (#24205, @yujuhong)
- Fixed mounting with containerized kubelet (#23435, @jsafrane)
- Adding nodeports services to quota (#22154, @sdminonne)
- e2e: adapt kubelet_perf.go to use the new summary metrics API (#24003, @yujuhong)
- kubelet: add RSS memory to the summary API (#24015, @yujuhong)
v1.2.3
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
b2ce4e0c72562d09ba06e3c0913f0bd78da0285e |
69e75650de30d5a52d144799e94a168d |
Changes since v1.2.2
Action Required
- Make watch cache treat resourceVersion consistent with uncached watch (#24008, @liggitt)
Other notable changes
- Fix unintended change of Service.spec.ports[].nodePort during kubectl apply (#24180, @AdoHe)
- Flush conntrack state for removed/changed UDP Services (#22573, @freehan)
- Allow setting the Host header in a httpGet probe (#24292, @errm)
- Bridge off-cluster traffic into services by masquerading. (#24429, @cjcullen)
- Version-guard Kubectl client Guestbook application test against deployments (#24478, @ihmccreery)
- Fix goroutine leak in ssh-tunnel healthcheck. (#24487, @cjcullen)
- Fixed mounting with containerized kubelet (#23435, @jsafrane)
- Do not throw creation errors for containers that fail immediately after being started (#23894, @vishh)
- Honor starting resourceVersion in watch cache (#24208, @ncdc)
- Fix TerminationMessagePath (#23658, @Random-Liu)
- Fix gce.getDiskByNameUnknownZone logic. (#24452, @a-robinson)
- kubelet: add RSS memory to the summary API (#24015, @yujuhong)
- e2e: adapt kubelet_perf.go to use the new summary metrics API (#24003, @yujuhong)
- e2e: fix error checking in kubelet stats (#24205, @yujuhong)
- Trusty: Avoid unnecessary in-memory temp files (#24144, @andyzheng0831)
- Allowing type object in kubectl swagger validation (#24054, @nikhiljindal)
- Add ClusterUpgrade tests (#24150, @ihmccreery)
- Trusty: Do not create the docker-daemon cgroup (#23996, @andyzheng0831)
v1.3.0-alpha.2
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
305c8c2af7e99d463dbbe4208ecfe2b50585e796 |
aadb8d729d855e69212008f8fda628c0 |
Changes since v1.3.0-alpha.1
Other notable changes
- Make kube2sky and skydns docker images cross-platform (#19376, @luxas)
- Allowing type object in kubectl swagger validation (#24054, @nikhiljindal)
- Fix TerminationMessagePath (#23658, @Random-Liu)
- Trusty: Do not create the docker-daemon cgroup (#23996, @andyzheng0831)
- Make ConfigMap volume readable as non-root (#23793, @pmorie)
- only include running and pending pods in daemonset should place calculation (#23929, @mikedanese)
- Upgrade to golang 1.6 (#22149, @luxas)
- Cross-build hyperkube and debian-iptables for ARM. Also add a flannel image (#21617, @luxas)
- Add a timeout to the sshDialer to prevent indefinite hangs. (#23843, @cjcullen)
- Ensure object returned by volume getCloudProvider incorporates cloud config (#23769, @saad-ali)
- Update Dashboard UI addon to v1.0.1 (#23724, @maciaszczykm)
- Add zsh completion for kubectl (#23797, @sttts)
- AWS kube-up: tolerate a lack of ephemeral volumes (#23776, @justinsb)
- duplicate kube-apiserver to federated-apiserver (#23509, @jianhuiz)
- Kubelet: Start using the official docker engine-api (#23506, @Random-Liu)
- Fix so setup-files don't recreate/invalidate certificates that already exist (#23550, @luxas)
- A pod never terminated if a container image registry was unavailable (#23746, @derekwaynecarr)
- Fix jsonpath to handle maps with key of nonstring types (#23358, @aveshagarwal)
- Trusty: Regional release .tar.gz support (#23558, @andyzheng0831)
- Add support for 3rd party objects to kubectl (#18835, @brendandburns)
- Remove unnecessary override of /etc/init.d/docker on containervm image. (#23593, @dchen1107)
- make docker-checker more robust (#23662, @ArtfulCoder)
- Change kube-proxy & fluentd CPU request to 20m/80m. (#23646, @cjcullen)
- Create a new Deployment in kube-system for every version. (#23512, @Q-Lee)
- IngressTLS: allow secretName to be blank for SNI routing (#23500, @tam7t)
- don't sync deployment when pod selector is empty (#23467, @mikedanese)
- AWS: Fix problems with >2 security groups (#23340, @justinsb)
v1.2.2
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
8dede5833a1986434adea80749624f81a0db7bb4 |
72a5389f22827fb5133fdc3b7bfb9b3a |
Changes since v1.2.1
Other notable changes
- Trusty: Update heapster manifest handling code (#23434, @andyzheng0831)
- Support addon Deployments, make heapster a deployment with a nanny. (#22893, @Q-Lee)
- Create a new Deployment in kube-system for every version. (#23512, @Q-Lee)
- Use SCP to dump logs and parallelize a bit. (#22835, @spxtr)
- Trusty: Regional release .tar.gz support (#23558, @andyzheng0831)
- Make ConfigMap volume readable as non-root (#23793, @pmorie)
- only include running and pending pods in daemonset should place calculation (#23929, @mikedanese)
- A pod never terminated if a container image registry was unavailable (#23746, @derekwaynecarr)
- Update Dashboard UI addon to v1.0.1 (#23724, @maciaszczykm)
- Ensure object returned by volume getCloudProvider incorporates cloud config (#23769, @saad-ali)
- Add a timeout to the sshDialer to prevent indefinite hangs. (#23843, @cjcullen)
- AWS kube-up: tolerate a lack of ephemeral volumes (#23776, @justinsb)
- Fix so setup-files don't recreate/invalidate certificates that already exist (#23550, @luxas)
v1.2.1
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
1639807c5788e1c6b1ab51fd30b723fb5debd865 |
235a1da47972c96a560d718d3256ca4f |
Changes since v1.2.0
Other notable changes
- AWS: Fix problems with >2 security groups (#23340, @justinsb)
- IngressTLS: allow secretName to be blank for SNI routing (#23500, @tam7t)
- Heapster patch release to 1.0.2 (#23487, @piosz)
- Remove unnecessary override of /etc/init.d/docker on containervm image. (#23593, @dchen1107)
- Change kube-proxy & fluentd CPU request to 20m/80m. (#23646, @cjcullen)
- make docker-checker more robust (#23662, @ArtfulCoder)
- validate that daemonsets don't have empty selectors on creation (#23530, @mikedanese)
- don't sync deployment when pod selector is empty (#23467, @mikedanese)
- Support differentiation of OS distro in e2e tests (#23466, @andyzheng0831)
- don't sync daemonsets with selectors that match all pods (#23223, @mikedanese)
- Trusty: Avoid reaching GCE custom metadata size limit (#22818, @andyzheng0831)
- Update kubectl help for 1.2 resources (#23305, @janetkuo)
- Removing URL query param from swagger UI to fix the XSS issue (#23234, @nikhiljindal)
- Fix hairpin mode (#23325, @MurgaNikolay)
- Bump to container-vm-v20160321 (#23313, @zmerlynn)
- Remove the restart-kube-proxy and restart-apiserver functions (#23180, @roberthbailey)
- Copy annotations back from RS to Deployment on rollback (#23160, @janetkuo)
- Trusty: Support hybrid cluster with nodes on ContainerVM (#23079, @andyzheng0831)
- update expose command description to add deployment (#23246, @AdoHe)
- Add a rate limiter to the GCE cloudprovider (#23019, @alex-mohr)
- Add a Deployment example for kubectl expose. (#23222, @madhusudancs)
- Use versioned object when computing patch (#23145, @liggitt)
- kubelet: send all recevied pods in one update (#23141, @yujuhong)
- Add a SSHKey sync check to the master's healthz (when using SSHTunnels). (#23167, @cjcullen)
- Validate minimum CPU limits to be >= 10m (#23143, @vishh)
- Fix controller-manager race condition issue which cause endpoints flush during restart (#23035, @xinxiaogang)
- MESOS: forward globally declared cadvisor housekeeping flags (#22974, @jdef)
- Trusty: support developer workflow on base image (#22960, @andyzheng0831)
v1.3.0-alpha.1
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
e0041b08e220a4704ea2ad90a6ec7c8f2120c2d3 |
7bb2df32aea94678f72a8d1f43a12098 |
Changes since v1.2.0
Action Required
- Disabling swagger ui by default on apiserver. Adding a flag that can enable it (#23025, @nikhiljindal)
- restore ability to run against secured etcd (#21535, @AdoHe)
Other notable changes
- validate that daemonsets don't have empty selectors on creation (#23530, @mikedanese)
- Trusty: Update heapster manifest handling code (#23434, @andyzheng0831)
- Support differentiation of OS distro in e2e tests (#23466, @andyzheng0831)
- don't sync daemonsets with selectors that match all pods (#23223, @mikedanese)
- Trusty: Avoid reaching GCE custom metadata size limit (#22818, @andyzheng0831)
- Update kubectl help for 1.2 resources (#23305, @janetkuo)
- Support addon Deployments, make heapster a deployment with a nanny. (#22893, @Q-Lee)
- Removing URL query param from swagger UI to fix the XSS issue (#23234, @nikhiljindal)
- Fix hairpin mode (#23325, @MurgaNikolay)
- Bump to container-vm-v20160321 (#23313, @zmerlynn)
- Remove the restart-kube-proxy and restart-apiserver functions (#23180, @roberthbailey)
- Copy annotations back from RS to Deployment on rollback (#23160, @janetkuo)
- Trusty: Support hybrid cluster with nodes on ContainerVM (#23079, @andyzheng0831)
- update expose command description to add deployment (#23246, @AdoHe)
- Add a rate limiter to the GCE cloudprovider (#23019, @alex-mohr)
- Add a Deployment example for kubectl expose. (#23222, @madhusudancs)
- Use versioned object when computing patch (#23145, @liggitt)
- kubelet: send all recevied pods in one update (#23141, @yujuhong)
- Add a SSHKey sync check to the master's healthz (when using SSHTunnels). (#23167, @cjcullen)
- Validate minimum CPU limits to be >= 10m (#23143, @vishh)
- Fix controller-manager race condition issue which cause endpoints flush during restart (#23035, @xinxiaogang)
- MESOS: forward globally declared cadvisor housekeeping flags (#22974, @jdef)
- Trusty: support developer workflow on base image (#22960, @andyzheng0831)
- Bumped Heapster to stable version 1.0.0 (#22993, @piosz)
- Deprecating --api-version flag (#22410, @nikhiljindal)
- allow resource.version.group in kubectl (#22853, @deads2k)
- Use SCP to dump logs and parallelize a bit. (#22835, @spxtr)
- update wide option output (#22772, @AdoHe)
- Change scheduler logic from random to round-robin (#22430, @gmarek)
v1.2.0
Documentation & Examples
Downloads
binary |
sha1 hash |
md5 hash |
kubernetes.tar.gz |
52dd998e1191f464f581a9b87017d70ce0b058d9 |
c0ce9e6150e9d7a19455db82f3318b4c |
Changes since v1.1.1
Major Themes
- Significant scale improvements. Increased cluster scale by 400% to 1000 nodes with 30,000 pods per cluster.
Kubelet supports 100 pods per node with 4x reduced system overhead.
- Simplified application deployment and management.
- Dynamic Configuration (ConfigMap API in the core API group) enables application
configuration to be stored as a Kubernetes API object and pulled dynamically on
container startup, as an alternative to baking in command-line flags when a
container is built.
- Turnkey Deployments (Deployment API (Beta) in the Extensions API group)
automate deployment and rolling updates of applications, specified
declaratively. It handles versioning, multiple simultaneous rollouts,
aggregating status across all pods, maintaining application availability, and
rollback.
- Automated cluster management:
- Kubernetes clusters can now span zones within a cloud provider. Pods from a
service will be automatically spread across zones, enabling applications to
tolerate zone failure.
- Simplified way to run a container on every node (DaemonSet API (Beta) in the
Extensions API group): Kubernetes can schedule a service (such as a logging
agent) that runs one, and only one, pod per node.
- TLS and L7 support (Ingress API (Beta) in the Extensions API group): Kubernetes
is now easier to integrate into custom networking environments by supporting
TLS for secure communication and L7 http-based traffic routing.
- Graceful Node Shutdown (aka drain) - The new “kubectl drain” command gracefully
evicts pods from nodes in preparation for disruptive operations like kernel
upgrades or maintenance.
- Custom Metrics for Autoscaling (HorizontalPodAutoscaler API in the Autoscaling
API group): The Horizontal Pod Autoscaling feature now supports custom metrics
(Alpha), allowing you to specify application-level metrics and thresholds to
trigger scaling up and down the number of pods in your application.
- New GUI (dashboard) allows you to get started quickly and enables the same
functionality found in the CLI as a more approachable and discoverable way of
interacting with the system. Note: the GUI is enabled by default in 1.2 clusters.
Other notable improvements
- Job was Beta in 1.1 and is GA in 1.2 .
apiVersion: batch/v1
is now available. You now do not need to specify the .spec.selector
field — a unique selector is automatically generated for you.
- The previous version,
apiVersion: extensions/v1beta1
, is still supported. Even if you roll back to 1.1, the objects created using
the new apiVersion will still be accessible, using the old version. You can
continue to use your existing JSON and YAML files until you are ready to switch
to batch/v1
. We may remove support for Jobs with apiVersion: extensions/v1beta1
in 1.3 or 1.4.
- HorizontalPodAutoscaler was Beta in 1.1 and is GA in 1.2 .
apiVersion: autoscaling/v1
is now available. Changes in this version are:
- Field CPUUtilization which was a nested structure CPUTargetUtilization in
HorizontalPodAutoscalerSpec was replaced by TargetCPUUtilizationPercentage
which is an integer.
- ScaleRef of type SubresourceReference in HorizontalPodAutoscalerSpec which
referred to scale subresource of the resource being scaled was replaced by
ScaleTargetRef which points just to the resource being scaled.
- In extensions/v1beta1 if CPUUtilization in HorizontalPodAutoscalerSpec was not
specified it was set to 80 by default while in autoscaling/v1 HPA object
without TargetCPUUtilizationPercentage specified is a valid object. Pod
autoscaler controller will apply a default scaling policy in this case which is
equivalent to the previous one but may change in the future.
- The previous version,
apiVersion: extensions/v1beta1
, is still supported. Even if you roll back to 1.1, the objects created using
the new apiVersions will still be accessible, using the old version. You can
continue to use your existing JSON and YAML files until you are ready to switch
to autoscaling/v1
. We may remove support for HorizontalPodAutoscalers with apiVersion: extensions/v1beta1
in 1.3 or 1.4.
- Kube-Proxy now defaults to an iptables-based proxy. If the --proxy-mode flag is
specified while starting kube-proxy (‘userspace’ or ‘iptables’), the flag value
will be respected. If the flag value is not specified, the kube-proxy respects
the Node object annotation: ‘net.beta.kubernetes.io/proxy-mode’. If the
annotation is not specified, then ‘iptables’ mode is the default. If kube-proxy
is unable to start in iptables mode because system requirements are not met
(kernel or iptables versions are insufficient), the kube-proxy will fall-back
to userspace mode. Kube-proxy is much more performant and less
resource-intensive in ‘iptables’ mode.
- Node stability can be improved by reserving resources for the base operating system using --system-reserved and --kube-reserved Kubelet flags
- Liveness and readiness probes now support more configuration parameters:
periodSeconds, successThreshold, failureThreshold
- The new ReplicaSet API (Beta) in the Extensions API group is similar to
ReplicationController, but its selector is more general (supports set-based selector; whereas ReplicationController
only supports equality-based selector).
- Scale subresource support is now expanded to ReplicaSets along with
ReplicationControllers and Deployments. Scale now supports two different types
of selectors to accommodate both equality-based selectors supported by ReplicationControllers and set-based selectors supported by Deployments and ReplicaSets.
- “kubectl run” now produces Deployments (instead of ReplicationControllers) and
Jobs (instead of Pods) by default.
- Pods can now consume Secret data in environment variables and inject those
environment variables into a container’s command-line args.
- Stable version of Heapster which scales up to 1000 nodes: more metrics, reduced
latency, reduced cpu/memory consumption (~4mb per monitored node).
- Pods now have a security context which allows users to specify:
- attributes which apply to the whole pod:
- User ID
- Whether all containers should be non-root
- Supplemental Groups
- FSGroup - a special supplemental group
- SELinux options
- If a pod defines an FSGroup, that Pod’s system (emptyDir, secret, configMap,
etc) volumes and block-device volumes will be owned by the FSGroup, and each
container in the pod will run with the FSGroup as a supplemental group
- Volumes that support SELinux labelling are now automatically relabeled with the
Pod’s SELinux context, if specified
- A stable client library release_1_2 is added. The library is here, and detailed doc is here. We will keep the interface of this go client stable.
- New Azure File Service Volume Plugin enables mounting Microsoft Azure File
Volumes (SMB 2.1 and 3.0) into a Pod. See example for details.
- Logs usage and root filesystem usage of a container, volumes usage of a pod and node disk usage are exposed through Kubelet new metrics API.
Experimental Features
- Dynamic Provisioning of PersistentVolumes: Kubernetes previously required all
volumes to be manually provisioned by a cluster administrator before use. With
this feature, volume plugins that support it (GCE PD, AWS EBS, and Cinder) can
automatically provision a PersistentVolume to bind to an unfulfilled
PersistentVolumeClaim.
- Run multiple schedulers in parallel, e.g. one or more custom schedulers
alongside the default Kubernetes scheduler, using pod annotations to select
among the schedulers for each pod. Documentation is here, design doc is here.
- More expressive node affinity syntax, and support for “soft” node affinity.
Node selectors (to constrain pods to schedule on a subset of nodes) now support
the operators {
In, NotIn, Exists, DoesNotExist, Gt, Lt
} instead of just conjunction of exact match on node label values. In
addition, we’ve introduced a new “soft” kind of node selector that is just a
hint to the scheduler; the scheduler will try to satisfy these requests but it
does not guarantee they will be satisfied. Both the “hard” and “soft” variants
of node affinity use the new syntax. Documentation is here (see section “Alpha feature in Kubernetes v1.2: Node Affinity“). Design doc is here.
- A pod can specify its own Hostname and Subdomain via annotations (
pod.beta.kubernetes.io/hostname, pod.beta.kubernetes.io/subdomain)
. If the Subdomain matches the name of a headless service in the same namespace, a DNS A record is also created for the pod’s FQDN. More
details can be found in the DNS README. Changes were introduced in PR #20688.
- New SchedulerExtender enables users to implement custom
out-of-(the-scheduler)-process scheduling predicates and priority functions,
for example to schedule pods based on resources that are not directly managed
by Kubernetes. Changes were introduced in PR #13580. Example configuration and documentation is available here. This is an alpha feature and may not be supported in its current form at beta
or GA.
- New Flex Volume Plugin enables users to use out-of-process volume plugins that
are installed to “/usr/libexec/kubernetes/kubelet-plugins/volume/exec/” on
every node, instead of being compiled into the Kubernetes binary. See example for details.
- vendor volumes into a pod. It expects vendor drivers are installed in the
volume plugin path on each kubelet node. This is an alpha feature and may
change in future.
- Kubelet exposes a new Alpha metrics API - /stats/summary in a user friendly format with reduced system overhead. The measurement is done in PR #22542.
Action required
- Docker v1.9.1 is officially recommended. Docker v1.8.3 and Docker v1.10 are
supported. If you are using an older release of Docker, please upgrade. Known
issues with Docker 1.9.1 can be found below.
- CPU hardcapping will be enabled by default for containers with CPU limit set,
if supported by the kernel. You should either adjust your CPU limit, or set CPU
request only, if you want to avoid hardcapping. If the kernel does not support
CPU Quota, NodeStatus will contain a warning indicating that CPU Limits cannot
be enforced.
- The following applies only if you use the Go language client (
/pkg/client/unversioned
) to create Job by defining Go variables of type "k8s.io/kubernetes/pkg/apis/extensions".Job
). We think this is not common, so if you are not sure what this means, you probably aren't doing this. If
you do this, then, at the time you re-vendor the "k8s.io/kubernetes/"
code, you will need to set job.Spec.ManualSelector = true
, or else set job.Spec.Selector = nil.
Otherwise, the jobs you create may be rejected. See Specifying your own pod selector.
- Deployment was Alpha in 1.1 (though it had apiVersion extensions/v1beta1) and
was disabled by default. Due to some non-backward-compatible API changes, any
Deployment objects you created in 1.1 won’t work with in the 1.2 release.
- Before upgrading to 1.2, delete all Deployment alpha-version resources, including the Replication Controllers and Pods the Deployment manages. Then
create Deployment Beta resources after upgrading to 1.2. Not deleting the
Deployment objects may cause the deployment controller to mistakenly match
other pods and delete them, due to the selector API change.
- Client (kubectl) and server versions must match (both 1.1 or both 1.2) for any
Deployment-related operations.
- Behavior change:
- Deployment creates ReplicaSets instead of ReplicationControllers.
- Scale subresource now has a new
targetSelector
field in its status. This field supports the new set-based selectors supported
by Deployments, but in a serialized format.
- Spec change:
- Deployment’s selector is now more general (supports set-based selector; it only supported
equality-based selector in 1.1).
- .spec.uniqueLabelKey is removed -- users can’t customize unique label key --
and its default value is changed from
“deployment.kubernetes.io/podTemplateHash” to “pod-template-hash”.
- .spec.strategy.rollingUpdate.minReadySeconds is moved to .spec.minReadySeconds
- DaemonSet was Alpha in 1.1 (though it had apiVersion extensions/v1beta1) and
was disabled by default. Due to some non-backward-compatible API changes, any
DaemonSet objects you created in 1.1 won’t work with in the 1.2 release.
- Before upgrading to 1.2, delete all DaemonSet alpha-version resources. If you do not want to disrupt the pods, use kubectl delete daemonset
--cascade=false. Then create DaemonSet Beta resources after upgrading to 1.2.
- Client (kubectl) and server versions must match (both 1.1 or both 1.2) for any
DaemonSet-related operations.
- Behavior change:
- DaemonSet pods will be created on nodes with .spec.unschedulable=true and will
not be evicted from nodes whose Ready condition is false.
- Updates to the pod template are now permitted. To perform a rolling update of a
DaemonSet, update the pod template and then delete its pods one by one; they
will be replaced using the updated template.
- Spec change:
- DaemonSet’s selector is now more general (supports set-based selector; it only supported
equality-based selector in 1.1).
- Running against a secured etcd requires these flags to be passed to
kube-apiserver (instead of --etcd-config):
- --etcd-certfile, --etcd-keyfile (if using client cert auth)
- --etcd-cafile (if not using system roots)
- As part of preparation in 1.2 for adding support for protocol buffers (and the
direct YAML support in the API available today), the Content-Type and Accept
headers are now properly handled as per the HTTP spec. As a consequence, if
you had a client that was sending an invalid Content-Type or Accept header to
the API, in 1.2 you will either receive a 415 or 406 error.
The only client
this is known to affect is curl when you use -d with JSON but don't set a
content type, helpfully sends "application/x-www-urlencoded", which is not
correct.
Other client authors should double check that you are sending proper
accept and content type headers, or set no value (in which case JSON is the
default).
An example using curl:
curl -H "Content-Type: application/json" -XPOST -d
'{"apiVersion":"v1","kind":"Namespace","metadata":{"name":"kube-system"}}' "http://127.0.0.1:8080/api/v1/namespaces"
- The version of InfluxDB is bumped from 0.8 to 0.9 which means storage schema
change. More details here.
- We have renamed “minions” to “nodes”. If you were specifying NUM_MINIONS or
MINION_SIZE to kube-up, you should now specify NUM_NODES or NODE_SIZE.
Known Issues
- Paused deployments can't be resized and don't clean up old ReplicaSets.
- Minimum memory limit is 4MB. This is a docker limitation
- Minimum CPU limits is 10m. This is a Linux Kernel limitation
- “kubectl rollout undo” (i.e. rollback) will hang on paused deployments, because
paused deployments can’t be rolled back (this is expected), and the command
waits for rollback events to return the result. Users should use “kubectl
rollout resume” to resume a deployment before rolling back.
- “kubectl edit ” will open the editor multiple times, once for each
resource in the list.
- If you create HPA object using autoscaling/v1 API without specifying
targetCPUUtilizationPercentage and read it using kubectl it will print default
value as specified in extensions/v1beta1 (see details in #23196).
- If a node or kubelet crashes with a volume attached, the volume will remain
attached to that node. If that volume can only be attached to one node at a
time (GCE PDs attached in RW mode, for example), then the volume must be
manually detached before Kubernetes can attach it to other nodes.
- If a volume is already attached to a node any subsequent attempts to attach it
again (due to kubelet restart, for example) will fail. The volume must either
be manually detached first or the pods referencing it deleted (which would
trigger automatic volume detach).
- In very large clusters it may happen that a few nodes won’t register in API
server in a given timeframe for whatever reasons (networking issue, machine
failure, etc.). Normally when kube-up script will encounter even one NotReady
node it will fail, even though the cluster most likely will be working. We
added an environmental variable to kube-up ALLOWED_NOTREADY_NODES that
defines the number of nodes that if not Ready in time won’t cause kube-up
failure.
- “kubectl rolling-update” only supports Replication Controllers (it doesn’t
support Replica Sets). It’s recommended to use Deployment 1.2 with “kubectl
rollout” commands instead, if you want to rolling update Replica Sets.
- When live upgrading Kubelet to 1.2 without draining the pods running on the node,
the containers will be restarted by Kubelet (see details in #23104).
Docker Known Issues
1.9.1
- Listing containers can be slow at times which will affect kubelet performance.
More information here
- Docker daemon restarts can fail. Docker checkpoints have to deleted between
restarts. More information here
- Pod IP allocation-related issues. Deleting the docker checkpoint prior to
restarting the daemon alleviates this issue, but hasn’t been verified to
completely eliminate the IP allocation issue. More information here
- Daemon becomes unresponsive (rarely) due to kernel deadlocks. More information here
Provider-specific Notes
Various
Core changes:
- Support for load balancers with source ranges
AWS
Core changes:
- Support for ELBs with complex configurations: better subnet selection with
multiple subnets, and internal ELBs
- Support for VPCs with private dns names
- Multiple fixes to EBS volume mounting code for robustness, and to support
mounting the full number of AWS recommended volumes.
- Multiple fixes to avoid hitting AWS rate limits, and to throttle if we do
- Support for the EC2 Container Registry (currently in us-east-1 only)
With kube-up:
- Automatically install updates on boot & reboot
- Use optimized image based on Jessie by default
- Add support for Ubuntu Wily
- Master is configured with automatic restart-on-failure, via CloudWatch
- Bootstrap reworked to be more similar to GCE; better supports reboots/restarts
- Use an elastic IP for the master by default
- Experimental support for node spot instances (set NODE_SPOT_PRICE=0.05)
GCE
- Ubuntu Trusty support added
Please see the Releases Page for older releases.
![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/CHANGELOG.md?pixel)