- 28 Feb, 2017 6 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Enqueue controllers after minreadyseconds when all pods are ready @janetkuo this should address https://github.com/kubernetes/kubernetes/issues/41697#issuecomment-281851377. Impossible to unit test this but it should stabilize some of our deployment e2e tests that occasionally fail because of availableReplicas not being updated. It should also fix https://github.com/kubernetes/kubernetes/issues/41641 Eventually I would like AddAfter to be able to cancel previous invocations of the same key so I opened https://github.com/kubernetes/client-go/issues/131 @kubernetes/sig-apps-bugs
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41205, 42196, 42068, 41588, 41271) Implements an upgrade test for Job **What this PR does / why we need it**: This PR implements a cluster upgrade test for Job. Some functionality for Job testing has been moved from the e2e package to the framework package to facilitate code reuse between the e2e package and the upgrade package without introducing cyclic dependencies. We need this PR to help automate the testing of cluster upgrades between versions. **Release note** ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41205, 42196, 42068, 41588, 41271) [CRI] enable kubenet traffic shaping ref: https://github.com/kubernetes/kubernetes/issues/37316 Another way to do this is to expose another interface in network host to allow network plugins to retrieve annotation. But that seems unnecessary and more complicated.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41205, 42196, 42068, 41588, 41271) Openapigen should process types in a consistent order Types are sorted by name only in openapi-gen. This makes problems like #42051 for types with the same name. This PR adds an identity namer that includes full package name for the types and use that to sort types before processing them. fixes #42051
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue AWS: Kill bash deployment c.f. #38772, #42194 and https://k8s-testgrid.appspot.com/google-aws#aws cluster/kube-up.sh with KUBERNETES_PROVIDER=aws has been broken on 1.6 for a couple of months now. No one is supporting it. Nuke. ```release-note 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/ ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fed: Add marun as reviewer cc: @kubernetes/sig-federation-pr-reviews
-
- 27 Feb, 2017 34 commits
-
-
Zach Loafman authored
c.f. #38772, #42194 and https://k8s-testgrid.appspot.com/google-aws#aws cluster/kube-up.sh with KUBERNETES_PROVIDER=aws has been broken on 1.6 for a couple of months now. No one is supporting it. Nuke.
-
mbohlool authored
-
mbohlool authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42053, 41282, 42056, 41663, 40927) Allow getting logs directly from deployment, job and statefulset **Special notes for your reviewer**: @smarterclayton you asked for it in OpenShift ```release-note kubectl logs allows getting logs directly from deployment, job and statefulset ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42053, 41282, 42056, 41663, 40927) Update kubeadm token to work as expected **What this PR does / why we need it**: Follows up: https://github.com/kubernetes/kubernetes/pull/41509 Updates `kubeadm token` to work as discussed in https://docs.google.com/document/d/1deJYPIF4LmhGjDVaqrswErIrV7mtwJgovtLnPCDxP7U/edit# Promotes the command from the `ex` subcommand which now is named `alpha` for clarity. (This will later become `kubeadm alpha phase`) **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: Example UX: ```console sudo ./kubeadm token --help This command will manage Bootstrap Token for you. Please note this usage of this command is optional, and mostly for advanced users. In short, Bootstrap Tokens are used for establishing bidirectional trust between a client and a server. A Bootstrap Token can be used when a client (for example a node that's about to join the cluster) needs to trust the server it is talking to. Then a Bootstrap Token with the "signing" usage can be used. Bootstrap Tokens can also function as a way to allow short-lived authentication to the API Server (the token serves as a way for the API Server to trust the client), for example for doing the TLS Bootstrap. What is a Bootstrap Token more exactly? - It is a Secret in the kube-system namespace of type "bootstrap.kubernetes.io/token". - A Bootstrap Token must be of the form "[a-z0-9]{6}.[a-z0-9]{16}"; the former part is the public Token ID, and the latter is the Token Secret, which must be kept private at all circumstances. - The name of the Secret must be named "bootstrap-token-(token-id)". You can read more about Bootstrap Tokens in this proposal: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/bootstrap-discovery.md Usage: kubeadm token [flags] kubeadm token [command] Available Commands: create Create bootstrap tokens on the server. delete Delete bootstrap tokens on the server. generate Generate and print a bootstrap token, but do not create it on the server. list List bootstrap tokens on the server. Flags: --kubeconfig string The KubeConfig file to use for talking to the cluster (default "/etc/kubernetes/admin.conf") Use "kubeadm token [command] --help" for more information about a command. lucas@THENINJA:~/luxas/kubernetes$ sudo ./kubeadm token list TOKEN TTL EXPIRES USAGES DESCRIPTION 70c388.41a07b703aa4bedf <forever> <never> authentication,signing The default bootstrap token generated by 'kubeadm init'. lucas@THENINJA:~/luxas/kubernetes$ sudo ./kubeadm token create c57e6a.abb75fa1debe555f lucas@THENINJA:~/luxas/kubernetes$ sudo ./kubeadm token list TOKEN TTL EXPIRES USAGES DESCRIPTION 70c388.41a07b703aa4bedf <forever> <never> authentication,signing The default bootstrap token generated by 'kubeadm init'. c57e6a.abb75fa1debe555f <forever> <never> authentication,signing <none> lucas@THENINJA:~/luxas/kubernetes$ sudo ./kubeadm token create s token ["s"] was not of form ["^([a-z0-9]{6})\\.([a-z0-9]{16})$"] lucas@THENINJA:~/luxas/kubernetes$ sudo ./kubeadm token create c57e6a.abb75fa1debe555f a token with id "c57e6a" already exists lucas@THENINJA:~/luxas/kubernetes$ sudo ./kubeadm token delete c57e6a.abb75fa1debe555f bootstrap token with id "c57e6a" deleted ``` **Release note**: ```release-note NONE ``` @dmmcquay @jbeda @mikedanese @errordeveloper @pires
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42053, 41282, 42056, 41663, 40927) Fully remove hand-written listers and informers Note: the first commit is from #41927. Adding do-not-merge for now as we'll want that to go in first, and then I'll rebase this on top. Update statefulset controller to use a lister for PVCs instead of a client request. Also replace a unit test's dependency on legacylisters with the generated ones. cc @kargakis @kow3ns @foxish @kubernetes/sig-apps-pr-reviews Remove all references to pkg/controller/informers and pkg/client/legacylisters, and remove those packages. @smarterclayton @deads2k this should be it! cc @gmarek @wojtek-t @derekwaynecarr @kubernetes/sig-scalability-pr-reviews
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42053, 41282, 42056, 41663, 40927) Enable Garbage collection by default for RS and RC Fixes https://github.com/kubernetes/kubernetes/issues/40898
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42053, 41282, 42056, 41663, 40927) Enable strict client-go verification in CI **Follow-up of https://github.com/kubernetes/kubernetes/pull/41987. Only the two last commits are relevant here.** This turns on strict client-go verification, i.e. PRs with missing client-go updates will fail in CI. It also updates the client-go once to have a baseline. **This should be enabled just after the freeze in order to enforce consistency of client-go.**
-
Michail Kargakis authored
-
Minhan Xia authored
-
Minhan Xia authored
-
Wojciech Tyczynski authored
Make kubectl taint e2e serial
-
Kenneth Owens authored
Implements an upgrade test for Job. Job common functionality is refactored into the framework package to allow for code sharing between e2e and upgrade tests.
-
Andy Goldstein authored
Make kubectl taint e2e run [Serial] so it doesn't affect any other tests.
-
Dr. Stefan Schimanski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix typo:evaluator
-
Dr. Stefan Schimanski authored
-
Maciej Szulik authored
-
Maciej Szulik authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41116, 41804, 42104, 42111, 42120) make kubectl taint command respect effect NoExecute **What this PR does / why we need it**: Part of feature forgiveness implementation, make kubectl taint command respect effect NoExecute. **Which issue this PR fixes**: Related Issue: #1574 Related PR: #39469 **Special notes for your reviewer**: **Release note**: ```release-note make kubectl taint command respect effect NoExecute ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41116, 41804, 42104, 42111, 42120) Remove SandboxReceived event This PR removes SandboxReceived event in sync pod. > This event seems somewhat meaningless, and clouds the event records for a pod. Do we actually need it? Pulling and pod received on the node are very relevant, this seems much less so. Would suggest we either remove it, or turn it into a message that clearly indicates why it has value. Refer https://github.com/kubernetes/kubernetes/commit/d65309399a228bd0c085f5e0d1ce93d558aebfaa#commitcomment-21052453. cc @smarterclayton @yujuhong
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41116, 41804, 42104, 42111, 42120) Export Prometheus metrics in kube-proxy Some metrics are already collected inside of kube-proxy (see https://github.com/kubernetes/kubernetes/blob/master/cmd/kube-proxy/proxy.go#L28). This exposes `/metrics` endpoint on healtz port. ref #40736 #9125 cc @brancz @fabxc
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41116, 41804, 42104, 42111, 42120) Add support for attacher/detacher interface in Flex volume Add support for attacher/detacher interface in Flex volume This change breaks backward compatibility and requires to be release noted. ```release-note Flex volume plugin is updated to support attach/detach interfaces. It broke backward compatibility. Please update your drivers and implement the new callouts. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 41116, 41804, 42104, 42111, 42120) DaemonSet updates - take 2 It implements https://github.com/kubernetes/community/blob/master/contributors/design-proposals/daemonset-update.md Feature kubernetes/features#124 ```release-note Implement the update feature for DaemonSet. ``` cc @kargakis @janetkuo @mikedanese
-
Andy Goldstein authored
-
Andy Goldstein authored
-
Andy Goldstein authored
-
Andy Goldstein authored
Use a PVC lister instead of a client when retrieving PVCs. Replace unit test's use of legacylisters with the generated listers.
-
Lucas Käldström authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42058, 41160, 42065, 42076, 39338) [Federation] Create configmap for the cluster kube-dns when cluster joins and remove when it unjoins This PR implements the functionality as needed in https://github.com/kubernetes/kubernetes/issues/38400 cc @kubernetes/sig-cluster-federation @nikhiljindal @madhusudancs **Release note**: ``` kubefed join can now automatically create a configmap or add information to already existing one, storing this federation name vs zone name information in the joining cluster. Further kubefed unjoin can remove this configmap or only this information from the configmap, if the unjoin cluster is registered with multiple federations. The name of the configmap is kube-dns and the information in it is consumed by the in-cluster dns server. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42058, 41160, 42065, 42076, 39338) add OWNER file to kubelet/network
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42058, 41160, 42065, 42076, 39338) Bump up dns-horizontal-autoscaler to 1.1.1 cluster-proportional-autoscaler 1.1.1 is releasing by kubernetes-incubator/cluster-proportional-autoscaler#26, also bump it up for dns-horizontal-autoscaler to introduce below features: - Add PreventSinglePointFailure option in linear mode. - Use protobufs for communication with apiserver. - Support switching control mode on-the-fly. Note: The new entry `"preventSinglePointFailure":true` ensures kube-dns to have at least 2 replicas when there is more than one node. Mitigate the issue mentioned in #40063. @bowei @thockin **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42058, 41160, 42065, 42076, 39338) New command for stand-alone GKE certificates controller New stand-alone certificates controller for GKE. Rather than requiring the CA's private key on disk, this allows making external calls to GKE in order to sign cluster certificates. **Which issue this PR fixes**: fixes #39761 **Release note**: ```release-note New GKE certificates controller. ``` CC @mikedanese @jcbsmpsn -
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42058, 41160, 42065, 42076, 39338) Juju: Fix shebangs in charm actions to use python3 **What this PR does / why we need it**: This fixes the microbot and create-rbd-pv actions by reverting them back to python3. We accidentally switched them to python2 to match the boilerplate checker's expectations for python files. It looks like hack/verify-boilerplate.sh does not check these since they don't have the .py extension, so we should be good with no changes there. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/212 **Special notes for your reviewer**: **Release note**: ```release-note Juju: Fix shebangs in charm actions to use python3 ```
-