k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
910 B
31 lines
910 B
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: kube-registry-proxy
|
|
namespace: {{ system_namespace }}
|
|
labels:
|
|
k8s-app: kube-registry-proxy
|
|
kubernetes.io/cluster-service: "true"
|
|
version: v{{ registry_proxy_image_tag }}
|
|
spec:
|
|
template:
|
|
metadata:
|
|
labels:
|
|
k8s-app: kube-registry-proxy
|
|
kubernetes.io/name: "kube-registry-proxy"
|
|
kubernetes.io/cluster-service: "true"
|
|
version: v{{ registry_proxy_image_tag }}
|
|
spec:
|
|
containers:
|
|
- name: kube-registry-proxy
|
|
image: {{ registry_proxy_image_repo }}:{{ registry_proxy_image_tag }}
|
|
env:
|
|
- name: REGISTRY_HOST
|
|
value: kube-registry.kube-system.svc.cluster.local
|
|
- name: REGISTRY_PORT
|
|
value: "5000"
|
|
ports:
|
|
- name: registry
|
|
containerPort: 80
|
|
hostPort: 5000
|