mirror of https://github.com/kubernetes/kops.git
Merge pull request #4137 from thockin-tmp/gcr-vanity
Convert registry to k8s.gcr.io
This commit is contained in:
commit
4b8db1eee0
|
@ -55,7 +55,7 @@ container_pull(
|
||||||
name = "debian_hyperkube_base_amd64",
|
name = "debian_hyperkube_base_amd64",
|
||||||
# 'tag' is also supported, but digest is encouraged for reproducibility.
|
# 'tag' is also supported, but digest is encouraged for reproducibility.
|
||||||
digest = "sha256:fc1b461367730660ac5a40c1eb2d1b23221829acf8a892981c12361383b3742b",
|
digest = "sha256:fc1b461367730660ac5a40c1eb2d1b23221829acf8a892981c12361383b3742b",
|
||||||
registry = "gcr.io",
|
registry = "k8s.gcr.io",
|
||||||
repository = "google_containers/debian-hyperkube-base-amd64",
|
repository = "debian-hyperkube-base-amd64",
|
||||||
tag = "0.8",
|
tag = "0.8",
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,7 +6,7 @@ Note that you likely want to change `AWS_REGION` and `GROUP_NAME`, and probably
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
CLOUD_PROVIDER=aws
|
CLOUD_PROVIDER=aws
|
||||||
IMAGE=gcr.io/google_containers/cluster-autoscaler:v1.1.0
|
IMAGE=k8s.gcr.io/cluster-autoscaler:v1.1.0
|
||||||
MIN_NODES=1
|
MIN_NODES=1
|
||||||
MAX_NODES=5
|
MAX_NODES=5
|
||||||
AWS_REGION=us-east-1
|
AWS_REGION=us-east-1
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
## Creating a simple ingress
|
## Creating a simple ingress
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl run echoheaders --image=gcr.io/google_containers/echoserver:1.4 --replicas=1 --port=8080
|
kubectl run echoheaders --image=k8s.gcr.io/echoserver:1.4 --replicas=1 --port=8080
|
||||||
kubectl expose deployment echoheaders --port=80 --target-port=8080 --name=echoheaders-x
|
kubectl expose deployment echoheaders --port=80 --target-port=8080 --name=echoheaders-x
|
||||||
kubectl expose deployment echoheaders --port=80 --target-port=8080 --name=echoheaders-y
|
kubectl expose deployment echoheaders --port=80 --target-port=8080 --name=echoheaders-y
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- name: default-http-backend
|
- name: default-http-backend
|
||||||
image: gcr.io/google_containers/defaultbackend:1.0
|
image: k8s.gcr.io/defaultbackend:1.0
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
|
@ -101,7 +101,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.3
|
- image: k8s.gcr.io/nginx-ingress-controller:0.8.3
|
||||||
name: ingress-nginx
|
name: ingress-nginx
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -194,7 +194,7 @@ spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- name: default-http-backend
|
- name: default-http-backend
|
||||||
image: gcr.io/google_containers/defaultbackend:1.3
|
image: k8s.gcr.io/defaultbackend:1.3
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
|
@ -272,7 +272,7 @@ spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
serviceAccountName: nginx-ingress-controller
|
serviceAccountName: nginx-ingress-controller
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.10
|
- image: k8s.gcr.io/nginx-ingress-controller:0.9.0-beta.10
|
||||||
name: nginx-ingress-controller
|
name: nginx-ingress-controller
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -194,7 +194,7 @@ spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- name: default-http-backend
|
- name: default-http-backend
|
||||||
image: gcr.io/google_containers/defaultbackend:1.3
|
image: k8s.gcr.io/defaultbackend:1.3
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
|
@ -274,7 +274,7 @@ spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
serviceAccountName: nginx-ingress-controller
|
serviceAccountName: nginx-ingress-controller
|
||||||
containers:
|
containers:
|
||||||
- image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.9.0
|
- image: k8s.gcr.io/nginx-ingress-controller:0.9.0
|
||||||
name: nginx-ingress-controller
|
name: nginx-ingress-controller
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -76,7 +76,7 @@ spec:
|
||||||
memory: 200Mi
|
memory: 200Mi
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
- name: addon-resizer
|
- name: addon-resizer
|
||||||
image: gcr.io/google_containers/addon-resizer:1.0
|
image: k8s.gcr.io/addon-resizer:1.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
|
|
@ -76,7 +76,7 @@ spec:
|
||||||
memory: 200Mi
|
memory: 200Mi
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
- name: addon-resizer
|
- name: addon-resizer
|
||||||
image: gcr.io/google_containers/addon-resizer:1.0
|
image: k8s.gcr.io/addon-resizer:1.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
|
|
@ -76,7 +76,7 @@ spec:
|
||||||
memory: 500Mi
|
memory: 500Mi
|
||||||
cpu: 300m
|
cpu: 300m
|
||||||
- name: addon-resizer
|
- name: addon-resizer
|
||||||
image: gcr.io/google_containers/addon-resizer:1.8.1
|
image: k8s.gcr.io/addon-resizer:1.8.1
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
|
|
@ -37,7 +37,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kubernetes-dashboard
|
- name: kubernetes-dashboard
|
||||||
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.1.0
|
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.1.0
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
|
|
@ -26,7 +26,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kubernetes-dashboard
|
- name: kubernetes-dashboard
|
||||||
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.4.0
|
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.4.0
|
||||||
resources:
|
resources:
|
||||||
# keep request = limit to keep this container in guaranteed class
|
# keep request = limit to keep this container in guaranteed class
|
||||||
limits:
|
limits:
|
||||||
|
|
|
@ -26,7 +26,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kubernetes-dashboard
|
- name: kubernetes-dashboard
|
||||||
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.5.0
|
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.5.0
|
||||||
resources:
|
resources:
|
||||||
# keep request = limit to keep this container in guaranteed class
|
# keep request = limit to keep this container in guaranteed class
|
||||||
limits:
|
limits:
|
||||||
|
|
|
@ -56,7 +56,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kubernetes-dashboard
|
- name: kubernetes-dashboard
|
||||||
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.0
|
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.6.0
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9090
|
- containerPort: 9090
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -56,7 +56,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kubernetes-dashboard
|
- name: kubernetes-dashboard
|
||||||
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.1
|
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.6.1
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9090
|
- containerPort: 9090
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -57,7 +57,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kubernetes-dashboard
|
- name: kubernetes-dashboard
|
||||||
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.6.3
|
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.6.3
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9090
|
- containerPort: 9090
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -90,7 +90,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kubernetes-dashboard
|
- name: kubernetes-dashboard
|
||||||
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.7.0
|
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.7.0
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9090
|
- containerPort: 9090
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -90,7 +90,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kubernetes-dashboard
|
- name: kubernetes-dashboard
|
||||||
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.7.1
|
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.7.1
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9090
|
- containerPort: 9090
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -110,7 +110,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kubernetes-dashboard
|
- name: kubernetes-dashboard
|
||||||
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.8.0
|
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.0
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8443
|
- containerPort: 8443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -114,7 +114,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kubernetes-dashboard
|
- name: kubernetes-dashboard
|
||||||
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.8.1
|
image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.1
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8443
|
- containerPort: 8443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: fluentd-es
|
- name: fluentd-es
|
||||||
image: gcr.io/google_containers/fluentd-elasticsearch:1.22
|
image: k8s.gcr.io/fluentd-elasticsearch:1.22
|
||||||
command:
|
command:
|
||||||
- '/bin/sh'
|
- '/bin/sh'
|
||||||
- '-c'
|
- '-c'
|
||||||
|
@ -89,7 +89,7 @@ spec:
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/elasticsearch:v2.4.1-2
|
- image: k8s.gcr.io/elasticsearch:v2.4.1-2
|
||||||
name: elasticsearch-logging
|
name: elasticsearch-logging
|
||||||
resources:
|
resources:
|
||||||
# need more cpu upon initialization, therefore burstable class
|
# need more cpu upon initialization, therefore burstable class
|
||||||
|
@ -146,7 +146,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kibana-logging
|
- name: kibana-logging
|
||||||
image: gcr.io/google_containers/kibana:v4.6.1-1
|
image: k8s.gcr.io/kibana:v4.6.1-1
|
||||||
resources:
|
resources:
|
||||||
# keep request = limit to keep this container in guaranteed class
|
# keep request = limit to keep this container in guaranteed class
|
||||||
limits:
|
limits:
|
||||||
|
|
|
@ -113,7 +113,7 @@ spec:
|
||||||
serviceAccountName: fluentd-es
|
serviceAccountName: fluentd-es
|
||||||
containers:
|
containers:
|
||||||
- name: fluentd-es
|
- name: fluentd-es
|
||||||
image: gcr.io/google_containers/fluentd-elasticsearch:1.22
|
image: k8s.gcr.io/fluentd-elasticsearch:1.22
|
||||||
command:
|
command:
|
||||||
- '/bin/sh'
|
- '/bin/sh'
|
||||||
- '-c'
|
- '-c'
|
||||||
|
@ -185,7 +185,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: elasticsearch-logging
|
serviceAccountName: elasticsearch-logging
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/elasticsearch:v2.4.1-2
|
- image: k8s.gcr.io/elasticsearch:v2.4.1-2
|
||||||
name: elasticsearch-logging
|
name: elasticsearch-logging
|
||||||
resources:
|
resources:
|
||||||
# need more cpu upon initialization, therefore burstable class
|
# need more cpu upon initialization, therefore burstable class
|
||||||
|
@ -242,7 +242,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kibana-logging
|
- name: kibana-logging
|
||||||
image: gcr.io/google_containers/kibana:v4.6.1-1
|
image: k8s.gcr.io/kibana:v4.6.1-1
|
||||||
resources:
|
resources:
|
||||||
# keep request = limit to keep this container in guaranteed class
|
# keep request = limit to keep this container in guaranteed class
|
||||||
limits:
|
limits:
|
||||||
|
|
|
@ -20,7 +20,7 @@ spec:
|
||||||
version: v1.1.0
|
version: v1.1.0
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v1.1.0
|
- image: k8s.gcr.io/heapster:v1.1.0
|
||||||
name: heapster
|
name: heapster
|
||||||
resources:
|
resources:
|
||||||
# keep request = limit to keep this container in guaranteed class
|
# keep request = limit to keep this container in guaranteed class
|
||||||
|
@ -33,7 +33,7 @@ spec:
|
||||||
command:
|
command:
|
||||||
- /heapster
|
- /heapster
|
||||||
- --source=kubernetes.summary_api:''
|
- --source=kubernetes.summary_api:''
|
||||||
- image: gcr.io/google_containers/addon-resizer:1.3
|
- image: k8s.gcr.io/addon-resizer:1.3
|
||||||
name: heapster-nanny
|
name: heapster-nanny
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|
|
@ -24,7 +24,7 @@ spec:
|
||||||
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"CriticalAddonsOnly", "operator":"Exists"}]'
|
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"CriticalAddonsOnly", "operator":"Exists"}]'
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v1.2.0
|
- image: k8s.gcr.io/heapster:v1.2.0
|
||||||
name: heapster
|
name: heapster
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
|
@ -44,7 +44,7 @@ spec:
|
||||||
command:
|
command:
|
||||||
- /heapster
|
- /heapster
|
||||||
- --source=kubernetes.summary_api:''
|
- --source=kubernetes.summary_api:''
|
||||||
- image: gcr.io/google_containers/addon-resizer:1.6
|
- image: k8s.gcr.io/addon-resizer:1.6
|
||||||
name: heapster-nanny
|
name: heapster-nanny
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|
|
@ -24,7 +24,7 @@ spec:
|
||||||
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"CriticalAddonsOnly", "operator":"Exists"}]'
|
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"CriticalAddonsOnly", "operator":"Exists"}]'
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v1.3.0
|
- image: k8s.gcr.io/heapster:v1.3.0
|
||||||
name: heapster
|
name: heapster
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
|
@ -44,7 +44,7 @@ spec:
|
||||||
command:
|
command:
|
||||||
- /heapster
|
- /heapster
|
||||||
- --source=kubernetes.summary_api:''
|
- --source=kubernetes.summary_api:''
|
||||||
- image: gcr.io/google_containers/addon-resizer:1.7
|
- image: k8s.gcr.io/addon-resizer:1.7
|
||||||
name: heapster-nanny
|
name: heapster-nanny
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: heapster
|
serviceAccountName: heapster
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v1.3.0
|
- image: k8s.gcr.io/heapster:v1.3.0
|
||||||
name: heapster
|
name: heapster
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
|
@ -45,7 +45,7 @@ spec:
|
||||||
command:
|
command:
|
||||||
- /heapster
|
- /heapster
|
||||||
- --source=kubernetes.summary_api:''
|
- --source=kubernetes.summary_api:''
|
||||||
- image: gcr.io/google_containers/addon-resizer:1.7
|
- image: k8s.gcr.io/addon-resizer:1.7
|
||||||
name: heapster-nanny
|
name: heapster-nanny
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: heapster
|
serviceAccountName: heapster
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/heapster:v1.4.0
|
- image: k8s.gcr.io/heapster:v1.4.0
|
||||||
name: heapster
|
name: heapster
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
|
@ -45,7 +45,7 @@ spec:
|
||||||
command:
|
command:
|
||||||
- /heapster
|
- /heapster
|
||||||
- --source=kubernetes.summary_api:''
|
- --source=kubernetes.summary_api:''
|
||||||
- image: gcr.io/google_containers/addon-resizer:2.0
|
- image: k8s.gcr.io/addon-resizer:2.0
|
||||||
name: heapster-nanny
|
name: heapster-nanny
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|
|
@ -83,7 +83,7 @@ Apply the update to the container:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl set image deployment/kube-dns -n kube-system \
|
kubectl set image deployment/kube-dns -n kube-system \
|
||||||
dnsmasq=gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.5
|
dnsmasq=k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.5
|
||||||
```
|
```
|
||||||
|
|
||||||
Validate the change was applied to the deployment:
|
Validate the change was applied to the deployment:
|
||||||
|
@ -108,8 +108,8 @@ You should see version 1.14.5 for the k8s-dns-dnsmasq-nanny-amd64 container:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
NAME IMAGE
|
NAME IMAGE
|
||||||
kube-dns-1100866048-3lqm0 gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.5,gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.5,gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.5
|
kube-dns-1100866048-3lqm0 k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.5,k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.5,k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.5
|
||||||
kube-dns-1100866048-tjlv2 gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.5,gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.5,gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.5
|
kube-dns-1100866048-tjlv2 k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.5,k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.5,k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.5
|
||||||
```
|
```
|
||||||
|
|
||||||
### Kubernetes Versions 1.4.x - 1.5.x
|
### Kubernetes Versions 1.4.x - 1.5.x
|
||||||
|
@ -136,7 +136,7 @@ Upgrade the kube-dns container to the new version.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl set image deployment/kube-dns -n kube-system \
|
kubectl set image deployment/kube-dns -n kube-system \
|
||||||
dnsmasq=gcr.io/google_containers/k8s-dns-dnsmasq-amd64:1.14.5
|
dnsmasq=k8s.gcr.io/k8s-dns-dnsmasq-amd64:1.14.5
|
||||||
```
|
```
|
||||||
|
|
||||||
Validate the change was applied to the deployment:
|
Validate the change was applied to the deployment:
|
||||||
|
@ -157,8 +157,8 @@ You should see version 1.14.5 for the dnsmasq pod
|
||||||
|
|
||||||
```console
|
```console
|
||||||
NAME IMAGE
|
NAME IMAGE
|
||||||
kube-dns-4146767324-djthf gcr.io/google_containers/kubedns-amd64:1.9,gcr.io/google_containers/k8s-dns-dnsmasq-amd64:1.14.5,gcr.io/google_containers/dnsmasq-metrics-amd64:1.0,gcr.io/google_containers/exechealthz-amd64:1.2
|
kube-dns-4146767324-djthf k8s.gcr.io/kubedns-amd64:1.9,k8s.gcr.io/k8s-dns-dnsmasq-amd64:1.14.5,k8s.gcr.io/dnsmasq-metrics-amd64:1.0,k8s.gcr.io/exechealthz-amd64:1.2
|
||||||
kube-dns-4146767324-kloxi gcr.io/google_containers/kubedns-amd64:1.9,gcr.io/google_containers/k8s-dns-dnsmasq-amd64:1.14.5,gcr.io/google_containers/dnsmasq-metrics-amd64:1.0,gcr.io/google_containers/exechealthz-amd64:1.2
|
kube-dns-4146767324-kloxi k8s.gcr.io/kubedns-amd64:1.9,k8s.gcr.io/k8s-dns-dnsmasq-amd64:1.14.5,k8s.gcr.io/dnsmasq-metrics-amd64:1.0,k8s.gcr.io/exechealthz-amd64:1.2
|
||||||
```
|
```
|
||||||
|
|
||||||
## More Information
|
## More Information
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM gcr.io/google_containers/debian-base-amd64:0.3
|
FROM k8s.gcr.io/debian-base-amd64:0.3
|
||||||
|
|
||||||
# Install packages:
|
# Install packages:
|
||||||
# curl (to download golang)
|
# curl (to download golang)
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM gcr.io/google_containers/debian-base-amd64:0.3
|
FROM k8s.gcr.io/debian-base-amd64:0.3
|
||||||
|
|
||||||
# ca-certificates: Needed to talk to EC2 API
|
# ca-certificates: Needed to talk to EC2 API
|
||||||
RUN apt-get update && apt-get install --yes ca-certificates \
|
RUN apt-get update && apt-get install --yes ca-certificates \
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM gcr.io/google_containers/debian-base-amd64:0.3
|
FROM k8s.gcr.io/debian-base-amd64:0.3
|
||||||
# TODO
|
# TODO
|
||||||
# RUN apt-get update && apt-get install --yes --reinstall lsb-base
|
# RUN apt-get update && apt-get install --yes --reinstall lsb-base
|
||||||
COPY /.build/dist/linux/amd64/kops-server /kops-server
|
COPY /.build/dist/linux/amd64/kops-server /kops-server
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM gcr.io/google_containers/debian-base-amd64:0.3
|
FROM k8s.gcr.io/debian-base-amd64:0.3
|
||||||
|
|
||||||
# Install packages:
|
# Install packages:
|
||||||
# curl (to download golang)
|
# curl (to download golang)
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM gcr.io/google_containers/debian-base-amd64:0.3
|
FROM k8s.gcr.io/debian-base-amd64:0.3
|
||||||
|
|
||||||
# ca-certificates: Needed to talk to EC2 API
|
# ca-certificates: Needed to talk to EC2 API
|
||||||
# e2fsprogs: Needed to mount / format ext4 filesytems
|
# e2fsprogs: Needed to mount / format ext4 filesytems
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM gcr.io/google_containers/debian-base-amd64:0.2
|
FROM k8s.gcr.io/debian-base-amd64:0.2
|
||||||
|
|
||||||
RUN echo "deb-src http://security.debian.org/ jessie/updates main" >> /etc/apt/sources.list
|
RUN echo "deb-src http://security.debian.org/ jessie/updates main" >> /etc/apt/sources.list
|
||||||
RUN echo "deb-src http://ftp.us.debian.org/debian/ jessie main" >> /etc/apt/sources.list
|
RUN echo "deb-src http://ftp.us.debian.org/debian/ jessie main" >> /etc/apt/sources.list
|
||||||
|
|
|
@ -243,7 +243,7 @@ func (t *ProtokubeBuilder) ProtokubeFlags(k8sVersion semver.Version) (*Protokube
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO this is dupicate code with etcd model
|
// TODO this is dupicate code with etcd model
|
||||||
image := fmt.Sprintf("gcr.io/google_containers/etcd:%s", imageVersion)
|
image := fmt.Sprintf("k8s.gcr.io/etcd:%s", imageVersion)
|
||||||
// override image if set as API value
|
// override image if set as API value
|
||||||
if etcdContainerImage != "" {
|
if etcdContainerImage != "" {
|
||||||
image = etcdContainerImage
|
image = etcdContainerImage
|
||||||
|
|
|
@ -128,7 +128,7 @@ func (a *AssetBuilder) RemapImage(image string) (string, error) {
|
||||||
normalized := image
|
normalized := image
|
||||||
|
|
||||||
// Remove the 'standard' kubernetes image prefix, just for sanity
|
// Remove the 'standard' kubernetes image prefix, just for sanity
|
||||||
normalized = strings.TrimPrefix(normalized, "gcr.io/google_containers/")
|
normalized = strings.TrimPrefix(normalized, "k8s.gcr.io/")
|
||||||
|
|
||||||
// We can't nest arbitrarily
|
// We can't nest arbitrarily
|
||||||
// Some risk of collisions, but also -- and __ in the names appear to be blocked by docker hub
|
// Some risk of collisions, but also -- and __ in the names appear to be blocked by docker hub
|
||||||
|
|
|
@ -131,11 +131,11 @@ func Image(component string, clusterSpec *kops.ClusterSpec, assetsBuilder *asset
|
||||||
// TODO remove this, as it is an addon now
|
// TODO remove this, as it is an addon now
|
||||||
if component == "kube-dns" {
|
if component == "kube-dns" {
|
||||||
// TODO: Once we are shipping different versions, start to use them
|
// TODO: Once we are shipping different versions, start to use them
|
||||||
return "gcr.io/google_containers/kubedns-amd64:1.3", nil
|
return "k8s.gcr.io/kubedns-amd64:1.3", nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if !IsBaseURL(clusterSpec.KubernetesVersion) {
|
if !IsBaseURL(clusterSpec.KubernetesVersion) {
|
||||||
image := "gcr.io/google_containers/" + component + ":" + "v" + clusterSpec.KubernetesVersion
|
image := "k8s.gcr.io/" + component + ":" + "v" + clusterSpec.KubernetesVersion
|
||||||
|
|
||||||
image, err := assetsBuilder.RemapImage(image)
|
image, err := assetsBuilder.RemapImage(image)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -158,7 +158,7 @@ func Image(component string, clusterSpec *kops.ClusterSpec, assetsBuilder *asset
|
||||||
tag := strings.TrimSpace(string(b))
|
tag := strings.TrimSpace(string(b))
|
||||||
glog.V(2).Infof("Found tag %q for %q", tag, component)
|
glog.V(2).Infof("Found tag %q for %q", tag, component)
|
||||||
|
|
||||||
return "gcr.io/google_containers/" + component + ":" + tag, nil
|
return "k8s.gcr.io/" + component + ":" + tag, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func GCETagForRole(clusterName string, role kops.InstanceGroupRole) string {
|
func GCETagForRole(clusterName string, role kops.InstanceGroupRole) string {
|
||||||
|
|
|
@ -44,7 +44,7 @@ func (b *EtcdOptionsBuilder) BuildOptions(o interface{}) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// default to gcr.io
|
// default to gcr.io
|
||||||
image := fmt.Sprintf("gcr.io/google_containers/etcd:%s", spec.EtcdClusters[0].Version)
|
image := fmt.Sprintf("k8s.gcr.io/etcd:%s", spec.EtcdClusters[0].Version)
|
||||||
|
|
||||||
// override image if set as API value
|
// override image if set as API value
|
||||||
if spec.EtcdClusters[0].Image != "" {
|
if spec.EtcdClusters[0].Image != "" {
|
||||||
|
|
|
@ -202,7 +202,7 @@ func (b *KubeletOptionsBuilder) BuildOptions(o interface{}) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Specify our pause image
|
// Specify our pause image
|
||||||
image := "gcr.io/google_containers/pause-amd64:3.0"
|
image := "k8s.gcr.io/pause-amd64:3.0"
|
||||||
if image, err = b.Context.AssetBuilder.RemapImage(image); err != nil {
|
if image, err = b.Context.AssetBuilder.RemapImage(image); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -8880,7 +8880,7 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
|
||||||
Properties: map[string]spec.Schema{
|
Properties: map[string]spec.Schema{
|
||||||
"names": {
|
"names": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]",
|
Description: "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]",
|
||||||
Type: []string{"array"},
|
Type: []string{"array"},
|
||||||
Items: &spec.SchemaOrArray{
|
Items: &spec.SchemaOrArray{
|
||||||
Schema: &spec.Schema{
|
Schema: &spec.Schema{
|
||||||
|
|
|
@ -325,11 +325,11 @@ func dummyNode(nodeMap map[string]string) v1.Node {
|
||||||
// images will be sorted from max to min in node status.
|
// images will be sorted from max to min in node status.
|
||||||
Images: []v1.ContainerImage{
|
Images: []v1.ContainerImage{
|
||||||
{
|
{
|
||||||
Names: []string{"gcr.io/google_containers:v3", "gcr.io/google_containers:v4"},
|
Names: []string{"k8s.gcr.io:v3", "k8s.gcr.io:v4"},
|
||||||
SizeBytes: 456,
|
SizeBytes: 456,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Names: []string{"gcr.io/google_containers:v1", "gcr.io/google_containers:v2"},
|
Names: []string{"k8s.gcr.io:v1", "k8s.gcr.io:v2"},
|
||||||
SizeBytes: 123,
|
SizeBytes: 123,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -82,7 +82,7 @@ func run() error {
|
||||||
flag.StringVar(&tlsKey, "tls-key", tlsKey, "Path to a file containing the private key for etcd server")
|
flag.StringVar(&tlsKey, "tls-key", tlsKey, "Path to a file containing the private key for etcd server")
|
||||||
flags.StringSliceVarP(&zones, "zone", "z", []string{}, "Configure permitted zones and their mappings")
|
flags.StringSliceVarP(&zones, "zone", "z", []string{}, "Configure permitted zones and their mappings")
|
||||||
flags.StringVar(&dnsProviderID, "dns", "aws-route53", "DNS provider we should use (aws-route53, google-clouddns, coredns)")
|
flags.StringVar(&dnsProviderID, "dns", "aws-route53", "DNS provider we should use (aws-route53, google-clouddns, coredns)")
|
||||||
flags.StringVar(&etcdImageSource, "etcd-image", "gcr.io/google_containers/etcd:2.2.1", "Etcd Source Container Registry")
|
flags.StringVar(&etcdImageSource, "etcd-image", "k8s.gcr.io/etcd:2.2.1", "Etcd Source Container Registry")
|
||||||
flags.StringVar(&etcdElectionTimeout, "etcd-election-timeout", etcdElectionTimeout, "time in ms for an election to timeout")
|
flags.StringVar(&etcdElectionTimeout, "etcd-election-timeout", etcdElectionTimeout, "time in ms for an election to timeout")
|
||||||
flags.StringVar(&etcdHeartbeatInterval, "etcd-heartbeat-interval", etcdHeartbeatInterval, "time in ms of a heartbeat interval")
|
flags.StringVar(&etcdHeartbeatInterval, "etcd-heartbeat-interval", etcdHeartbeatInterval, "time in ms of a heartbeat interval")
|
||||||
flags.StringVar(&gossipSecret, "gossip-secret", gossipSecret, "Secret to use to secure gossip")
|
flags.StringVar(&gossipSecret, "gossip-secret", gossipSecret, "Secret to use to secure gossip")
|
||||||
|
|
|
@ -3,7 +3,7 @@ clusterName: etcd-main
|
||||||
clusterToken: token-main
|
clusterToken: token-main
|
||||||
cpuRequest: "200m"
|
cpuRequest: "200m"
|
||||||
dataDirName: data-main
|
dataDirName: data-main
|
||||||
imageSource: gcr.io/google_containers/etcd:2.2.1
|
imageSource: k8s.gcr.io/etcd:2.2.1
|
||||||
logFile: /var/log/etcd.log
|
logFile: /var/log/etcd.log
|
||||||
peerPort: 2380
|
peerPort: 2380
|
||||||
podName: etcd-server-main
|
podName: etcd-server-main
|
||||||
|
@ -62,7 +62,7 @@ spec:
|
||||||
value: "100"
|
value: "100"
|
||||||
- name: ETCD_INITIAL_CLUSTER
|
- name: ETCD_INITIAL_CLUSTER
|
||||||
value: node0=http://node0.internal:2380,node1=http://node1.internal:2380,node2=http://node2.internal:2380
|
value: node0=http://node0.internal:2380,node1=http://node1.internal:2380,node2=http://node2.internal:2380
|
||||||
image: gcr.io/google_containers/etcd:2.2.1
|
image: k8s.gcr.io/etcd:2.2.1
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
|
|
|
@ -3,7 +3,7 @@ clusterName: etcd-main
|
||||||
clusterToken: token-main
|
clusterToken: token-main
|
||||||
cpuRequest: "200m"
|
cpuRequest: "200m"
|
||||||
dataDirName: data-main
|
dataDirName: data-main
|
||||||
imageSource: gcr.io/google_containers/etcd:2.2.1
|
imageSource: k8s.gcr.io/etcd:2.2.1
|
||||||
logFile: /var/log/etcd.log
|
logFile: /var/log/etcd.log
|
||||||
peerPort: 2380
|
peerPort: 2380
|
||||||
podName: etcd-server-main
|
podName: etcd-server-main
|
||||||
|
@ -56,7 +56,7 @@ spec:
|
||||||
value: token-main
|
value: token-main
|
||||||
- name: ETCD_INITIAL_CLUSTER
|
- name: ETCD_INITIAL_CLUSTER
|
||||||
value: node0=http://node0.internal:2380,node1=http://node1.internal:2380,node2=http://node2.internal:2380
|
value: node0=http://node0.internal:2380,node1=http://node1.internal:2380,node2=http://node2.internal:2380
|
||||||
image: gcr.io/google_containers/etcd:2.2.1
|
image: k8s.gcr.io/etcd:2.2.1
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
|
|
|
@ -6,7 +6,7 @@ clusterName: etcd-main
|
||||||
clusterToken: token-main
|
clusterToken: token-main
|
||||||
cpuRequest: "200m"
|
cpuRequest: "200m"
|
||||||
dataDirName: data-main
|
dataDirName: data-main
|
||||||
imageSource: gcr.io/google_containers/etcd:2.2.1
|
imageSource: k8s.gcr.io/etcd:2.2.1
|
||||||
logFile: /var/log/etcd.log
|
logFile: /var/log/etcd.log
|
||||||
peerCA: /srv/kubernetes/ca.crt
|
peerCA: /srv/kubernetes/ca.crt
|
||||||
peerCert: /srv/kubernetes/etcd.pem
|
peerCert: /srv/kubernetes/etcd.pem
|
||||||
|
@ -74,7 +74,7 @@ spec:
|
||||||
value: /srv/kubernetes/etcd-key.pem
|
value: /srv/kubernetes/etcd-key.pem
|
||||||
- name: ETCD_INITIAL_CLUSTER
|
- name: ETCD_INITIAL_CLUSTER
|
||||||
value: node0=https://node0.internal:2380,node1=https://node1.internal:2380,node2=https://node2.internal:2380
|
value: node0=https://node0.internal:2380,node1=https://node1.internal:2380,node2=https://node2.internal:2380
|
||||||
image: gcr.io/google_containers/etcd:2.2.1
|
image: k8s.gcr.io/etcd:2.2.1
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 15
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
|
|
|
@ -179,7 +179,7 @@ Resources.AWSAutoScalingLaunchConfigurationmasterustest1amastersadditionaluserda
|
||||||
- http://127.0.0.1:4001
|
- http://127.0.0.1:4001
|
||||||
etcdServersOverrides:
|
etcdServersOverrides:
|
||||||
- /events#http://127.0.0.1:4002
|
- /events#http://127.0.0.1:4002
|
||||||
image: gcr.io/google_containers/kube-apiserver:v1.4.12
|
image: k8s.gcr.io/kube-apiserver:v1.4.12
|
||||||
insecurePort: 8080
|
insecurePort: 8080
|
||||||
logLevel: 2
|
logLevel: 2
|
||||||
securePort: 443
|
securePort: 443
|
||||||
|
@ -192,7 +192,7 @@ Resources.AWSAutoScalingLaunchConfigurationmasterustest1amastersadditionaluserda
|
||||||
clusterCIDR: 100.96.0.0/11
|
clusterCIDR: 100.96.0.0/11
|
||||||
clusterName: additionaluserdata.example.com
|
clusterName: additionaluserdata.example.com
|
||||||
configureCloudRoutes: true
|
configureCloudRoutes: true
|
||||||
image: gcr.io/google_containers/kube-controller-manager:v1.4.12
|
image: k8s.gcr.io/kube-controller-manager:v1.4.12
|
||||||
leaderElection:
|
leaderElection:
|
||||||
leaderElect: true
|
leaderElect: true
|
||||||
logLevel: 2
|
logLevel: 2
|
||||||
|
@ -202,10 +202,10 @@ Resources.AWSAutoScalingLaunchConfigurationmasterustest1amastersadditionaluserda
|
||||||
cpuRequest: 100m
|
cpuRequest: 100m
|
||||||
featureGates: null
|
featureGates: null
|
||||||
hostnameOverride: '@aws'
|
hostnameOverride: '@aws'
|
||||||
image: gcr.io/google_containers/kube-proxy:v1.4.12
|
image: k8s.gcr.io/kube-proxy:v1.4.12
|
||||||
logLevel: 2
|
logLevel: 2
|
||||||
kubeScheduler:
|
kubeScheduler:
|
||||||
image: gcr.io/google_containers/kube-scheduler:v1.4.12
|
image: k8s.gcr.io/kube-scheduler:v1.4.12
|
||||||
leaderElection:
|
leaderElection:
|
||||||
leaderElect: true
|
leaderElect: true
|
||||||
logLevel: 2
|
logLevel: 2
|
||||||
|
@ -225,7 +225,7 @@ Resources.AWSAutoScalingLaunchConfigurationmasterustest1amastersadditionaluserda
|
||||||
networkPluginMTU: 9001
|
networkPluginMTU: 9001
|
||||||
networkPluginName: kubenet
|
networkPluginName: kubenet
|
||||||
nonMasqueradeCIDR: 100.64.0.0/10
|
nonMasqueradeCIDR: 100.64.0.0/10
|
||||||
podInfraContainerImage: gcr.io/google_containers/pause-amd64:3.0
|
podInfraContainerImage: k8s.gcr.io/pause-amd64:3.0
|
||||||
podManifestPath: /etc/kubernetes/manifests
|
podManifestPath: /etc/kubernetes/manifests
|
||||||
reconcileCIDR: true
|
reconcileCIDR: true
|
||||||
masterKubelet:
|
masterKubelet:
|
||||||
|
@ -244,7 +244,7 @@ Resources.AWSAutoScalingLaunchConfigurationmasterustest1amastersadditionaluserda
|
||||||
networkPluginName: kubenet
|
networkPluginName: kubenet
|
||||||
nonMasqueradeCIDR: 100.64.0.0/10
|
nonMasqueradeCIDR: 100.64.0.0/10
|
||||||
podCIDR: 10.123.45.0/28
|
podCIDR: 10.123.45.0/28
|
||||||
podInfraContainerImage: gcr.io/google_containers/pause-amd64:3.0
|
podInfraContainerImage: k8s.gcr.io/pause-amd64:3.0
|
||||||
podManifestPath: /etc/kubernetes/manifests
|
podManifestPath: /etc/kubernetes/manifests
|
||||||
reconcileCIDR: true
|
reconcileCIDR: true
|
||||||
registerSchedulable: false
|
registerSchedulable: false
|
||||||
|
@ -457,7 +457,7 @@ Resources.AWSAutoScalingLaunchConfigurationnodesadditionaluserdataexamplecom.Pro
|
||||||
cpuRequest: 100m
|
cpuRequest: 100m
|
||||||
featureGates: null
|
featureGates: null
|
||||||
hostnameOverride: '@aws'
|
hostnameOverride: '@aws'
|
||||||
image: gcr.io/google_containers/kube-proxy:v1.4.12
|
image: k8s.gcr.io/kube-proxy:v1.4.12
|
||||||
logLevel: 2
|
logLevel: 2
|
||||||
kubelet:
|
kubelet:
|
||||||
allowPrivileged: true
|
allowPrivileged: true
|
||||||
|
@ -474,7 +474,7 @@ Resources.AWSAutoScalingLaunchConfigurationnodesadditionaluserdataexamplecom.Pro
|
||||||
networkPluginMTU: 9001
|
networkPluginMTU: 9001
|
||||||
networkPluginName: kubenet
|
networkPluginName: kubenet
|
||||||
nonMasqueradeCIDR: 100.64.0.0/10
|
nonMasqueradeCIDR: 100.64.0.0/10
|
||||||
podInfraContainerImage: gcr.io/google_containers/pause-amd64:3.0
|
podInfraContainerImage: k8s.gcr.io/pause-amd64:3.0
|
||||||
podManifestPath: /etc/kubernetes/manifests
|
podManifestPath: /etc/kubernetes/manifests
|
||||||
reconcileCIDR: true
|
reconcileCIDR: true
|
||||||
|
|
||||||
|
|
|
@ -170,7 +170,7 @@ Resources.AWSAutoScalingLaunchConfigurationmasterustest1amastersminimalexampleco
|
||||||
- http://127.0.0.1:4001
|
- http://127.0.0.1:4001
|
||||||
etcdServersOverrides:
|
etcdServersOverrides:
|
||||||
- /events#http://127.0.0.1:4002
|
- /events#http://127.0.0.1:4002
|
||||||
image: gcr.io/google_containers/kube-apiserver:v1.4.12
|
image: k8s.gcr.io/kube-apiserver:v1.4.12
|
||||||
insecurePort: 8080
|
insecurePort: 8080
|
||||||
logLevel: 2
|
logLevel: 2
|
||||||
securePort: 443
|
securePort: 443
|
||||||
|
@ -183,7 +183,7 @@ Resources.AWSAutoScalingLaunchConfigurationmasterustest1amastersminimalexampleco
|
||||||
clusterCIDR: 100.96.0.0/11
|
clusterCIDR: 100.96.0.0/11
|
||||||
clusterName: minimal.example.com
|
clusterName: minimal.example.com
|
||||||
configureCloudRoutes: true
|
configureCloudRoutes: true
|
||||||
image: gcr.io/google_containers/kube-controller-manager:v1.4.12
|
image: k8s.gcr.io/kube-controller-manager:v1.4.12
|
||||||
leaderElection:
|
leaderElection:
|
||||||
leaderElect: true
|
leaderElect: true
|
||||||
logLevel: 2
|
logLevel: 2
|
||||||
|
@ -193,10 +193,10 @@ Resources.AWSAutoScalingLaunchConfigurationmasterustest1amastersminimalexampleco
|
||||||
cpuRequest: 100m
|
cpuRequest: 100m
|
||||||
featureGates: null
|
featureGates: null
|
||||||
hostnameOverride: '@aws'
|
hostnameOverride: '@aws'
|
||||||
image: gcr.io/google_containers/kube-proxy:v1.4.12
|
image: k8s.gcr.io/kube-proxy:v1.4.12
|
||||||
logLevel: 2
|
logLevel: 2
|
||||||
kubeScheduler:
|
kubeScheduler:
|
||||||
image: gcr.io/google_containers/kube-scheduler:v1.4.12
|
image: k8s.gcr.io/kube-scheduler:v1.4.12
|
||||||
leaderElection:
|
leaderElection:
|
||||||
leaderElect: true
|
leaderElect: true
|
||||||
logLevel: 2
|
logLevel: 2
|
||||||
|
@ -216,7 +216,7 @@ Resources.AWSAutoScalingLaunchConfigurationmasterustest1amastersminimalexampleco
|
||||||
networkPluginMTU: 9001
|
networkPluginMTU: 9001
|
||||||
networkPluginName: kubenet
|
networkPluginName: kubenet
|
||||||
nonMasqueradeCIDR: 100.64.0.0/10
|
nonMasqueradeCIDR: 100.64.0.0/10
|
||||||
podInfraContainerImage: gcr.io/google_containers/pause-amd64:3.0
|
podInfraContainerImage: k8s.gcr.io/pause-amd64:3.0
|
||||||
podManifestPath: /etc/kubernetes/manifests
|
podManifestPath: /etc/kubernetes/manifests
|
||||||
reconcileCIDR: true
|
reconcileCIDR: true
|
||||||
masterKubelet:
|
masterKubelet:
|
||||||
|
@ -235,7 +235,7 @@ Resources.AWSAutoScalingLaunchConfigurationmasterustest1amastersminimalexampleco
|
||||||
networkPluginName: kubenet
|
networkPluginName: kubenet
|
||||||
nonMasqueradeCIDR: 100.64.0.0/10
|
nonMasqueradeCIDR: 100.64.0.0/10
|
||||||
podCIDR: 10.123.45.0/28
|
podCIDR: 10.123.45.0/28
|
||||||
podInfraContainerImage: gcr.io/google_containers/pause-amd64:3.0
|
podInfraContainerImage: k8s.gcr.io/pause-amd64:3.0
|
||||||
podManifestPath: /etc/kubernetes/manifests
|
podManifestPath: /etc/kubernetes/manifests
|
||||||
reconcileCIDR: true
|
reconcileCIDR: true
|
||||||
registerSchedulable: false
|
registerSchedulable: false
|
||||||
|
@ -427,7 +427,7 @@ Resources.AWSAutoScalingLaunchConfigurationnodesminimalexamplecom.Properties.Use
|
||||||
cpuRequest: 100m
|
cpuRequest: 100m
|
||||||
featureGates: null
|
featureGates: null
|
||||||
hostnameOverride: '@aws'
|
hostnameOverride: '@aws'
|
||||||
image: gcr.io/google_containers/kube-proxy:v1.4.12
|
image: k8s.gcr.io/kube-proxy:v1.4.12
|
||||||
logLevel: 2
|
logLevel: 2
|
||||||
kubelet:
|
kubelet:
|
||||||
allowPrivileged: true
|
allowPrivileged: true
|
||||||
|
@ -444,7 +444,7 @@ Resources.AWSAutoScalingLaunchConfigurationnodesminimalexamplecom.Properties.Use
|
||||||
networkPluginMTU: 9001
|
networkPluginMTU: 9001
|
||||||
networkPluginName: kubenet
|
networkPluginName: kubenet
|
||||||
nonMasqueradeCIDR: 100.64.0.0/10
|
nonMasqueradeCIDR: 100.64.0.0/10
|
||||||
podInfraContainerImage: gcr.io/google_containers/pause-amd64:3.0
|
podInfraContainerImage: k8s.gcr.io/pause-amd64:3.0
|
||||||
podManifestPath: /etc/kubernetes/manifests
|
podManifestPath: /etc/kubernetes/manifests
|
||||||
reconcileCIDR: true
|
reconcileCIDR: true
|
||||||
|
|
||||||
|
|
|
@ -116,9 +116,9 @@ spec:
|
||||||
serviceAccountName: cloud-controller-manager
|
serviceAccountName: cloud-controller-manager
|
||||||
containers:
|
containers:
|
||||||
- name: cloud-controller-manager
|
- name: cloud-controller-manager
|
||||||
# for in-tree providers we use gcr.io/google_containers/cloud-controller-manager
|
# for in-tree providers we use k8s.gcr.io/cloud-controller-manager
|
||||||
# this can be replaced with any other image for out-of-tree providers
|
# this can be replaced with any other image for out-of-tree providers
|
||||||
image: gcr.io/google_containers/cloud-controller-manager:v{{ .KubernetesVersion }} # Reviewers: Will this work?
|
image: k8s.gcr.io/cloud-controller-manager:v{{ .KubernetesVersion }} # Reviewers: Will this work?
|
||||||
command:
|
command:
|
||||||
- /usr/local/bin/cloud-controller-manager
|
- /usr/local/bin/cloud-controller-manager
|
||||||
- --cloud-provider={{ .CloudProvider }}
|
- --cloud-provider={{ .CloudProvider }}
|
||||||
|
|
|
@ -33,7 +33,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: autoscaler
|
- name: autoscaler
|
||||||
image: gcr.io/google_containers/cluster-proportional-autoscaler-{{Arch}}:1.1.2-r2
|
image: k8s.gcr.io/cluster-proportional-autoscaler-{{Arch}}:1.1.2-r2
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "20m"
|
cpu: "20m"
|
||||||
|
@ -96,7 +96,7 @@ spec:
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
- name: kubedns
|
- name: kubedns
|
||||||
image: gcr.io/google_containers/k8s-dns-kube-dns-{{Arch}}:1.14.5
|
image: k8s.gcr.io/k8s-dns-kube-dns-{{Arch}}:1.14.5
|
||||||
resources:
|
resources:
|
||||||
# TODO: Set memory limits when we've profiled the container for large
|
# TODO: Set memory limits when we've profiled the container for large
|
||||||
# clusters, then set request = limit to keep this container in
|
# clusters, then set request = limit to keep this container in
|
||||||
|
@ -148,7 +148,7 @@ spec:
|
||||||
mountPath: /kube-dns-config
|
mountPath: /kube-dns-config
|
||||||
|
|
||||||
- name: dnsmasq
|
- name: dnsmasq
|
||||||
image: gcr.io/google_containers/k8s-dns-dnsmasq-nanny-{{Arch}}:1.14.5
|
image: k8s.gcr.io/k8s-dns-dnsmasq-nanny-{{Arch}}:1.14.5
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthcheck/dnsmasq
|
path: /healthcheck/dnsmasq
|
||||||
|
@ -187,7 +187,7 @@ spec:
|
||||||
mountPath: /etc/k8s/dns/dnsmasq-nanny
|
mountPath: /etc/k8s/dns/dnsmasq-nanny
|
||||||
|
|
||||||
- name: sidecar
|
- name: sidecar
|
||||||
image: gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.5
|
image: k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.5
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /metrics
|
path: /metrics
|
||||||
|
|
|
@ -32,7 +32,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: autoscaler
|
- name: autoscaler
|
||||||
image: gcr.io/google_containers/cluster-proportional-autoscaler-{{Arch}}:1.0.0
|
image: k8s.gcr.io/cluster-proportional-autoscaler-{{Arch}}:1.0.0
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: "20m"
|
cpu: "20m"
|
||||||
|
@ -83,7 +83,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: kubedns
|
- name: kubedns
|
||||||
image: gcr.io/google_containers/kubedns-{{Arch}}:1.9
|
image: k8s.gcr.io/kubedns-{{Arch}}:1.9
|
||||||
resources:
|
resources:
|
||||||
# TODO: Set memory limits when we've profiled the container for large
|
# TODO: Set memory limits when we've profiled the container for large
|
||||||
# clusters, then set request = limit to keep this container in
|
# clusters, then set request = limit to keep this container in
|
||||||
|
@ -131,7 +131,7 @@ spec:
|
||||||
name: metrics
|
name: metrics
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: dnsmasq
|
- name: dnsmasq
|
||||||
image: gcr.io/google_containers/k8s-dns-dnsmasq-{{Arch}}:1.14.5
|
image: k8s.gcr.io/k8s-dns-dnsmasq-{{Arch}}:1.14.5
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz-dnsmasq
|
path: /healthz-dnsmasq
|
||||||
|
@ -159,7 +159,7 @@ spec:
|
||||||
cpu: 150m
|
cpu: 150m
|
||||||
memory: 10Mi
|
memory: 10Mi
|
||||||
- name: dnsmasq-metrics
|
- name: dnsmasq-metrics
|
||||||
image: gcr.io/google_containers/dnsmasq-metrics-{{Arch}}:1.0
|
image: k8s.gcr.io/dnsmasq-metrics-{{Arch}}:1.0
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /metrics
|
path: /metrics
|
||||||
|
@ -180,7 +180,7 @@ spec:
|
||||||
requests:
|
requests:
|
||||||
memory: 10Mi
|
memory: 10Mi
|
||||||
- name: healthz
|
- name: healthz
|
||||||
image: gcr.io/google_containers/exechealthz-{{Arch}}:1.2
|
image: k8s.gcr.io/exechealthz-{{Arch}}:1.2
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 50Mi
|
memory: 50Mi
|
||||||
|
|
|
@ -97,7 +97,7 @@ func (d *dockerAPI) pullImage(name string) error {
|
||||||
for scanner.Scan() {
|
for scanner.Scan() {
|
||||||
// {"status":"Already exists","progressDetail":{},"id":"a3ed95caeb02"}
|
// {"status":"Already exists","progressDetail":{},"id":"a3ed95caeb02"}
|
||||||
|
|
||||||
// {"status":"Status: Image is up to date for gcr.io/google_containers/cluster-proportional-autoscaler-amd64:1.0.0"}
|
// {"status":"Status: Image is up to date for k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.0.0"}
|
||||||
glog.Infof("docker pull %s", scanner.Text())
|
glog.Infof("docker pull %s", scanner.Text())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue