- 06 Jul, 2017 14 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add node-name flag to `join` phase **What this PR does / why we need it**: Allow to specify a node-name instead of relaying in `os.Hostname()` This is useful where kubelet use the name given by the cloud-provider to register the node. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: partially fixes kubernetes/kubeadm#64 **Special notes for your reviewer**: **Release note**: ```release-note Added new flag to `kubeadm join`: --node-name, that lets you specify the name of the Node object that's gonna be created ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add ownership for the future of scheduler_perf and kubemark **What this PR does / why we need it**: The scheduler_perf project is cross-cutting with the other goals of the performance and scale initiatives, so, I've put together a list of interested parties who have been running, using, and contributing to it. cc @kubernetes/sig-scheduling-pr-reviews @ravisantoshgudimetla @sjug
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix some err message **What this PR does / why we need it**: **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**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix invalid Content-Type for 403 error https://github.com/kubernetes/kubernetes/pull/47384 makes 403 errors return Status Object. However the Content-Type is still "text/plain" This change fixes it. Before this change: kubectl get pods --as=tom Error from server (Forbidden): {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods \"\" is forbidden: User \"tom\" cannot list pods in the namespace \"default\".","reason":"Forbidden","details":{"kind":"pods"},"code":403} (get pods) After this change: $ kubectl get pods --as=tom Error from server (Forbidden): pods "" is forbidden: User "tom" cannot list pods in the namespace "default". **What this PR does / why we need it**: **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**: **Release note**: ``` NONE ```
-
Cao Shufeng authored
https://github.com/kubernetes/kubernetes/pull/47384 makes 403 errors return Status Object. How the Content-Type is still "text/plain" This change fix it.
-
Ghe Rivero authored
Allow to specify a node-name instead of relaying in `os.Hostname()` This is useful where kubelet use the name given by the cloud-provider to register the node. Partially fix: kubernetes/kubeadm#64
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Launch kubemark with an existing Kubemark master In order to expand the use of kubemark, allow developers to use kubemark with a pre-existing Kubernetes cluster. Ref issue #44393
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix Audit-ID header key Now http header key "Audit-ID" doesn't have effect, because golang automaticly transforms "Audit-ID" into "Audit-Id". This change use http.Header.Get() function to canonicalize "Audit-ID" to "Audit-Id". **Release note**: ``` NONE ```
-
Cao Shufeng authored
Now http header key "Audit-ID" doesn't have effect, because golang automaticly transforms "Audit-ID" into "Audit-Id". This change use http.Header.Get() function to canonicalize "Audit-ID" to "Audit-Id".
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix cross build Fix the issue introduced in #48299 which breaks cross-build (https://github.com/kubernetes/kubernetes/pull/48299#issuecomment-312846398). move setsize.go and setsize_unsupported.go back to util/term for kubelet. move unmark_windows.go as well. ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Enable Service Affinity for OpenStack cloudprovider Fix issue: #48500 Kubernetes's OpenStack cloudprovider can't set persistence to "SOURCE_IP" **Release note**: ```release-note NONE ```
-
FengyunPan authored
Fix issue: #48500 Kubernetes's OpenStack cloudprovider can't set LB's persistence to "SOURCE_IP".
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48292, 48121) Add Google cloudkms dependency, add cloudkms service to GCE cloud provider Required to introduce a Google KMS based envelope encryption, which shall allow encrypting secrets at rest using KEK-DEK scheme. The above requires KMS API to create/delete KeyRings and CryptoKeys, and Encrypt/Decrypt data. Should target release 1.8 @jcbsmpsn Update: It appears that Godep only allows dependencies which are in use. We may have to modify this PR to include some Google KMS code. Progresses #48522
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48292, 48121) Return a slightly more verbose error when "go get" fails.
-
- 05 Jul, 2017 26 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48309, 48489) Check if golint exists first in hack/verify-golint.sh **What this PR does / why we need it**: Check if golint exists first in hack/verify-golint.sh **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #48488 **Special notes for your reviewer**: nope. **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [e2e-ingress] Get node tag from instance under GKE **What this PR does / why we need it**: Making ingress CI green again. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #48167 **Special notes for your reviewer**: /assign @nicksardo **Release note**: ```release-note NONE ```
-
Matt Liggett authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47327, 48194) Checked container spec when killing container. **What this PR does / why we need it**: Checked container spec when getting container, return error if failed. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #48173 **Release note**: ```release-note-none ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47327, 48194) Remove useless error While doing https://github.com/kubernetes/kubernetes/pull/44898, found an useless return error. **Release note**: ``` None ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix style of yaml and text **What this PR does / why we need it**: The original format is very odd. So I try to fix it. **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**: **Release note**: ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47700, 48464, 48502) Add a refreshing discovery client Introduce a discovery client (implementing `CachedDiscoveryInterface`) which caches discovery information in memory and which can be actively refreshed by the user. This implementation fetches from discovery upon refresh and could later be improved to maintain updates from a watch. Extracted from https://github.com/kubernetes/kubernetes/pull/47665 and https://github.com/kubernetes/kubernetes/pull/46000 to help reduce the scope of https://github.com/kubernetes/kubernetes/pull/48065. ```release-note NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47700, 48464, 48502) fix error type **What this PR does / why we need it**: invalidToken should be errInvalideToken **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**: No **Release note**: ``` None ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47700, 48464, 48502) Provide a way to setup the limit NO files for rkt Pods **What this PR does / why we need it**: This PR allows to customize the Systemd unit files for rkt pods. We start with the `systemd-unit-option.rkt.kubernetes.io/LimitNOFILE` to allows to run workloads like etcd, ES in kubernetes with rkt. **Special notes for your reviewer**: Once again, I followed @yifan-gu guidelines. I made a basic check over the values given inside the `systemd-unit-option.rkt.kubernetes.io/LimitNOFILE` (integer and > 0). If this check fails: I simply ignore the field. The other implementation would be to fail the whole SetUpPod. We discussed using a key like `rkt.kubernetes.io/systemd-unit-option/LimitNOFILE` but the validation only allows a single `/` in this field: ```The Deployment "tiller" is invalid: spec.template.annotations: Invalid value: "rkt.kubernetes.io/systemd-unit-option/LimitNOFILE": a qualified name must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')``` **Release note**: ```release-note NONE ```
-
Zihong Zheng authored
-
ymqytw authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45467, 48091, 48033, 48498) bulk delete of tpr packages related to https://github.com/kubernetes/kubernetes/issues/48152 Bulk delete of the TPR code. I made the minimal changes outside the delete to try to keep it easy to review.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45467, 48091, 48033, 48498) Refactor and simplify generic printer for unknown objects The first two commits are part of other PRs @kubernetes/sig-cli-pr-reviews part of the general refactoring for server side print
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 45467, 48091, 48033, 48498) Allow Kubenet with ipv6 When running kubenet with IPv6, there is a panic as there is IPv4 specific code the Event function. With this change, Event will support IPv4 and IPv6 **What this PR does / why we need it**: This PR allows kubenet to use IPv6. Currently there is a panic in kubenet_linux.go as there is IPv4 specific code. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #48089 **Special notes for your reviewer**: **Release note**: ```release-note-NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix kubectl describe for pods with controllerRef **What this PR does / why we need it**: kubectl describe doesn't take controllerRef into consideration, resulting confusing result. e.g. if we have two replicaset with the same selector, one with 1 replica and the other 2 replicase, then both replicaset will show 3 running pods. ```sh $ kubectl describe rs replicaset-2 Name: replicaset-2 Namespace: default Selector: environment=prod Labels: environment=prod Annotations: <none> Replicas: 2 current / 2 desired Pods Status: 3 Running / 0 Waiting / 0 Succeeded / 0 Failed Pod Template: Labels: environment=prod Containers: created-from-replicaset: Image: nginx Port: Environment: <none> Mounts: <none> Volumes: <none> Events: FirstSeen LastSeen Count From SubObjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 5m 5m 1 replicaset-controller Normal SuccessfulCreate Created pod: replicaset-2-39szb 5m 5m 1 replicaset-controller Normal SuccessfulCreate Created pod: replicaset-2-470jr ``` **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # xref #24946 **Special notes for your reviewer**: **Release note**: ```release-note Fix kubectl describe for pods with controllerRef ``` -
Anthony Yeh authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add local volume bug to known issues **What this PR does / why we need it**: Update known issues with local volume issue #48331
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48399, 48450, 48144) Skip errors when unregistering juju kubernetes-workers **What this PR does / why we need it**: When removing a kubernetes node from using Juju and for some reason kubernetes master fails we should not error the node, instead we should proceed with the removal of the node and the master will recognise that node as unavailable because it will fail heartbeats. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/300 **Special notes for your reviewer**: **Release note**: ``` Clean decommission of Juju kubernetes worker units ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48399, 48450, 48144) configure kube-proxy to run with unset conntrack param when in lxc **What this PR does / why we need it**: Configures the Juju Charm code to run kube-proxy with `conntrack-max-per-core` set to `0` when in an lxc as a workaround for issues when mounting `/sys/module/nf_conntrack/parameters/hashsize` **Release note**: ```release-note Configures the Juju Charm code to run kube-proxy with conntrack-max-per-core set to 0 when in an lxc as a workaround for issues when mounting /sys/module/nf_conntrack/parameters/hashsize ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 48399, 48450, 48144) Group and order imported packages. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #N/A **Release note**: ```release-note-none ```
-
Dan Mace authored
-
deads2k authored
-
Daniel Smith authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47162, 48444, 48445) make the panic handler first Move the panic handler to the beginning of the chain so that panics will get information in the log beyond a stack.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47162, 48444, 48445) Introducing a cluster-scoped resource in the wardle.k8s.io group. **What this PR does / why we need it**: This PR adds a cluster-scoped resource to the wardle.k8s.io group. The cluster scoped resource has a field that indicates Flunder.Names that are disallowed. The resource is going to be used by an admission plugin. The admission plugin will list the cluster-scope resources and check against banned names. **Special notes for your reviewer**: Issue: #47868 **Release note**: ``` NONE ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 47162, 48444, 48445) Fix output extra comma /# kubectl get service NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE nginx-service-test 10.200.6.109 _**,80.11.12.10**_ 8000:31637/TCP 6s **(output a extra comma)** except: nginx-service-test 10.200.6.109 _**80.11.12.10**_ 8000:31637/TCP 6s /# cat lb.yaml apiVersion: v1 kind: Service metadata: name: nginx-service-lb3 spec: ports: - port: 8000 targetPort: 80 protocol: TCP type: LoadBalancer selector: name: nginx externalIPs: - 80.11.12.10 - 1.2.3.6 /# kubectl create -f lb.yaml
-