Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 47f86ddb04 Merge pull request #48783 from mattmoyer/change-kubeadm-default-token-ttl
Automatic merge from submit-queue (batch tested with PRs 48572, 48838, 48931, 48783, 47090)

kubeadm: change the default bootstrap token TTL to 24 hours

**What this PR does / why we need it**:
This PR changes the TTL for the default bootstrap token generated by `kubeadm init` (without the `--token-ttl` parameter) and `kubeadm token create` (without the `--ttl` flag). Previously, the default TTL was infinite. After this change it is 24 hours.

~~The reasoning for 2 hours as a default is that it's 1) long enough that someone manually using kubeadm (copy-pasting) shouldn't have any issues and 2) short enough that if something is going to break, it should break while the user/admin is still paying attention to the cluster. I'm open to bikeshedding about the exact value, 2 hours is a bit of a strawman.~~

**Edit: updated this to 24 hours instead of 2 hours.**

This is a breaking change if you rely on infinite TTL tokens (e.g., if you had an ASG group of worker nodes). The old behavior is easily restored by passing `--token-ttl 0` to `kubeadm init` or the `--ttl 0` flag to `kubeadm token create`.

**Which issue this PR fixes**: fixes https://github.com/kubernetes/kubeadm/issues/343

**Special notes for your reviewer**:
This was discussed earlier today in SIG-cluster-lifecycle

**Release note**:
```release-note
Change the default kubeadm bootstrap token TTL from infinite to 24 hours. This is a breaking change. If you require the old behavior, use `kubeadm init --token-ttl 0` / `kubeadm token create --ttl 0`.
```

cc @jbeda
2017-07-14 10:53:51 -07:00
.github Merge pull request #46714 from castrojo/new-issue-template 2017-06-22 16:43:47 -07:00
api Name change: s/timstclair/tallclair/ 2017-07-10 14:05:46 -07:00
build Move kubectl e2e tests to their own directory and prefix the test names with [sig-cli] 2017-07-12 09:42:06 -07:00
cluster Merge pull request #48812 from crassirostris/change-fluentd-monitoring 2017-07-14 04:43:42 -07:00
cmd Merge pull request #48783 from mattmoyer/change-kubeadm-default-token-ttl 2017-07-14 10:53:51 -07:00
docs Merge pull request #48353 from deads2k/tpr-17-delete-01 2017-07-05 05:49:30 -07:00
examples add redirect notice in all readme files 2017-07-14 17:18:01 +02:00
federation fed: Move namespace propagation to the sync controller 2017-07-12 13:54:24 -07:00
Godeps Add Azure managed disk support 2017-07-14 14:09:44 +08:00
hack Merge pull request #46360 from khenidak/azure-pd-final 2017-07-14 09:57:51 -07:00
logo
pkg Merge pull request #48931 from allencloud/remove-duplicated-word-file-in-error 2017-07-14 10:53:49 -07:00
plugin Merge pull request #47955 from CaoShuFeng/trivial 2017-07-13 18:50:19 -07:00
staging Merge pull request #48276 from pmichali/issue48225 2017-07-14 04:43:44 -07:00
test Merge pull request #46360 from khenidak/azure-pd-final 2017-07-14 09:57:51 -07:00
third_party
translations removed 'Storage' option from 'kubectl top' like options 2017-06-23 08:34:53 -07:00
vendor Add Azure managed disk support 2017-07-14 14:09:44 +08:00
.bazelrc
.gazelcfg.json
.generated_files
.gitattributes
.gitignore
BUILD.bazel
CHANGELOG.md Merge pull request #48897 from nicksardo/known-issue-1.7 2017-07-13 23:39:10 -07:00
code-of-conduct.md
CONTRIBUTING.md
labels.yaml Update labels.yaml 2017-07-11 11:21:18 -07:00
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Name change: s/timstclair/tallclair/ 2017-07-10 14:05:46 -07:00
README.md
Vagrantfile
WORKSPACE

Kubernetes

Submit Queue Widget GoDoc Widget


Kubernetes is an open source system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If you are a company that wants to help shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To start developing Kubernetes

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/kubernetes
$ make
You have a working Docker environment.
$ git clone https://github.com/kubernetes/kubernetes
$ cd kubernetes
$ make quick-release

If you are less impatient, head over to the developer's documentation.

Support

If you need support, start with the troubleshooting guide and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another.

Analytics