- 17 Oct, 2016 9 commits
-
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add logs generator @piosz Tool to test logging mechanisms, mentioned in #34310
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Extend tracing in watchCache
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix misspellings of 'receive' Fix typos
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove duplicate --etcd-servers arguments in kubeadm fixes: #34900 @pires @errordeveloper
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Elasticsearch and Kibana update ```release-note 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. ``` Updated es and kibana images. Made image versions match es/kibana versions they contain. ref #19149
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add tracing to listing in Cacher
-
Wojciech Tyczynski authored
-
- 16 Oct, 2016 11 commits
-
-
Lucas Käldström authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue make function ReadDockerConfigFile more flexible In our code, the public function `ReadDockerConfigFile` looks like not enough flexible: when I want to use this function to get docker config info from a specific path, I have to call `SetPreferredDockercfgPath`, and then the setting preferredPath will be valid in function `ReadDockerConfigFile`. I know in our code, we call `SetPreferredDockercfgPath` in one place ,then call `ReadDockerConfigFile` in another place, it was not in same context. But it looks like not thread safety. I think if user who use our code want to get docker config from a specific path, it is reasonable to call directly `ReadDockerConfigFile ` with a dockerconfigPath argument, and it can avoid some scenarios that thread is not safety . I add a test case for this function.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Added INSTANCE_PREFIX to project hash to avoid S3 bucket clash **What this PR does / why we need it**: Fixes an issue where if you run multiple k8s clusters in same region S3 resources are being overwritten and therefore node bootstrapping stalls, i.e. when using Auto scaling. **Special notes for your reviewer**: By adding the `INSTANCE_PREFIX` to the project hash in the S3 bucket the bucket will not be overwritten. **Release note**: <!-- Steps to write your release note: 1. Use the release-note-* labels to set the release note state (if you have access) 2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. --> ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Make Rackspace deploy scripts compatible with Kubernetes v1.3.0 []() * Use the current stable CoreOS image * Switch to etcd2 * Launch flanneld on master to make nodes accessible * Generate Service Account certificate and enable admission controls
-
Mik Vyatskov authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Delete all deployments when tear down cluster alive resources Delete all deployments when tear down cluster alive resources.
-
Mik Vyatskov authored
-
Jess Frazelle authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Register the kubeadm api group in cmd/kubeadm Fixes the issue mentioned in: https://github.com/kubernetes/kubernetes/pull/34885#issuecomment-253995383 My test config: ```yaml apiVersion: kubeadm.k8s.io/v1alpha1 kind: MasterConfiguration kubernetesVersion: v1.4.2 networking: podSubnet: 10.244.0.0/16 dnsDomain: k8s.somecompany.com serviceSubnet: 10.16.0.0/12 api: externalDNSNames: - myawesomek8snode secrets: givenToken: 92f7e2.3685fe2e01f799f3 ``` ```console # kubeadm init --config kubeadm.yaml ``` @kubernetes/sig-cluster-lifecycle
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubectl: apply prune should fallback to basic delete when a resource has no reaper Fixes #34790 cc @kubernetes/kubectl @MrHohn
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Change etcd Get operation to serializable Ref https://github.com/kubernetes/kubernetes/issues/34709
-
- 15 Oct, 2016 20 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Allow callers to bypass cmdutil.CheckError() logging **Release note**: ```release-note release-note-none ``` This patch is originally from: https://github.com/kubernetes/kubernetes/pull/25451 (https://github.com/kubernetes/kubernetes/pull/25451/commits/eedb67a30d3591bb609d649043a99f8fc46cd64a) Simplifies code where clients are writing their own errors, and want to terminate with an exit code. cc @smarterclayton
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue attempt to use discovery RESTMapper and fallback if we can't Updates `kubectl` to always attempt discovery regardless of server version. This is needed to extension servers.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue you can be authorized and have a failure Fix the authorization filter to allow you through and to avoid showing internal errors to users when authorization failed.
-
Lucas Käldström authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update run flags to point to generators docs @janetkuo you've requested that in https://github.com/kubernetes/kubernetes/pull/32484#issuecomment-246840562 I'm opening this PR but like you I don't like the length of the descriptions already. The other problem with this is that there's not clean docs for a user to figure out what the generators are. I've stumbled upon this several times and I always found myself looking into the code :/ How about adding new flag/subcommand that will give you more information about generators and we'd move all those `--restart` and `--generator` information into specific generator info and present at the top level only general information?
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Doc: Explain how to use EBS storage on AWS <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md 2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md 3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes --> **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: <!-- Steps to write your release note: 1. Use the release-note-* labels to set the release note state (if you have access) 2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. --> ```release-note ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix edge case in qos evaluation If a pod has a container C1 and C2, where sum(C1.requests, C2.requests) equals (C1.Limits), the code was reporting that the pod had "Guaranteed" qos, when it should have been Burstable. /cc @vishh @dchen1107
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue libvirt-coreos: Download the coreos_production_qemu_image over SSL. **Which issue this PR fixes**: fixes #7347
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add unit test for bad ReclaimPolicy and valid ReclaimPolicy in /pkg/api/validation unit tests for validation.go regarding PersistentVolumeReclaimPolicy (bad value and good value) see PR: #30304
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubeadm join: Added support for config file. As more behavior (#34719, #34807, fix for #33641) is added to `kubeadm join`, this will be eventually very much needed. Makes sense to go in sooner rather than later. Also references #34501 and #34884. /cc @luxas @mikedanese
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix typo: initilizing -> initializing
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue when err is nil,remove it from glog err can be nil here.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Corrected title of example "Java Web Application with Tomcat and Side… **What this PR does / why we need it**: Corrects spelling error in title of example "Java Web Application with Tomcat and Sidercar Container". **Which issue this PR fixes**: NONE **Special notes for your reviewer**: NONE **Release note**: NONE
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove duplicated code in kubectl portforward test
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue ie. should be i.e.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Upgrade addon-manager with kubectl apply The first step of #33698. Use `kubectl apply` to replace addon-manager's previous logic. The most important issue this PR is targeting is the upgrade from 1.4 to 1.5. Procedure as below: 1. Precondition: After the master is upgraded, new addon-manager starts and all the old resources on nodes are running normally. 2. Annotate the old ReplicationController resources with kubectl.kubernetes.io/last-applied-configuration="" 3. Call `kubectl apply --prune=false` on addons folder to create new addons, including the new Deployments. 4. Wait for one minute for new addons to be spinned up. 5. Enter the periodical loop of `kubectl apply --prune=true`. The old RCs will be pruned at the first call. Procedure of a normal startup: 1. Addon-manager starts and no addon resources are running. 2. Annotate nothing. 3. Call `kubectl apply --prune=false` to create all new addons. 4. No need to explain the remain. Remained Issues: - Need to add `--type` flag to `kubectl apply --prune`, mentioned [here](https://github.com/kubernetes/kubernetes/pull/33075#discussion_r80814070). - This addon manager is not working properly with the current Deployment heapster, which runs [addon-resizer](https://github.com/kubernetes/contrib/tree/master/addon-resizer) in the same pod and changes resource limit configuration through the apiserver. `kubectl apply` fights with the addon-resizers. May be we should remove the initial resource limit field in the configuration file for this specific Deployment as we removed the replica count. @mikedanese @thockin @bprashanth --- Below are some logical things that may need to be clarified, feel free to **OMIT** them as they are too verbose: - For upgrade, the old RCs will not fight with the new Deployments during the overlap period even if they use the same label in template: - Deployment will not recognize the old pods because it need to match an additional "pod-template-hash" label. - ReplicationController will not manage the new pods (created by deployment) because the [`controllerRef`](https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/controller-ref.md) feature. - As we are moving all addons to Deployment, all old RCs would be removed. Attach empty annotation to RCs is only for letting `kubectl apply --prune` to recognize them, the content does not matter. - We might need to also annotate other resource types if we plan to upgrade them in 1.5 release: - They don't need to be attached this fake annotation if they remain in the same name. `kubectl apply` can recognize them by name/type/namespace. - In the other case, attaching empty annotations to them will still work. As the plan is to use label selector for annotate, some innocence old resources may also be attached empty annotations, they work as below two cases: - Resources that need to be bumped up to a newer version (mainly due to some significant update --- change disallowed fields --- that could not be managed by the update feature of `kubectl apply`) are good to go with this fake annotation, as old resources will be deleted and new sources will be created. The content in annotation does not matter. - Resources that need to stay inside the management of `kubectl apply` is also good to go. As `kubectl apply` will [generate a 3-way merge patch](https://github.com/kubernetes/kubernetes/blob/master/pkg/util/strategicpatch/patch.go#L1202-L1226). This empty annotation is harmless enough.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove duplicate code from kubectl describe
-
Wojciech Tyczynski authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue default serializer Everyone uses the same serializer. Set it as the default, but still allow someone to take control if they want. Found while trying to use genericapiserver for composition.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Updated err message when retrieving resources by name with --all-name… fixes #15834
-