8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
31 lines
824 B
YAML
31 lines
824 B
YAML
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
name: calico-policy-controller
|
|
namespace: kube-system
|
|
labels:
|
|
k8s-app: calico-policy
|
|
kubernetes.io/cluster-service: "true"
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
k8s-app: calico-policy
|
|
template:
|
|
metadata:
|
|
name: calico-policy-controller
|
|
namespace: kube-system
|
|
labels:
|
|
kubernetes.io/cluster-service: "true"
|
|
k8s-app: calico-policy
|
|
spec:
|
|
hostNetwork: true
|
|
containers:
|
|
- name: calico-policy-controller
|
|
image: calico/kube-policy-controller:v0.2.0
|
|
env:
|
|
- name: ETCD_ENDPOINTS
|
|
value: "http://10.0.0.17:6666"
|
|
- name: K8S_API
|
|
value: "https://kubernetes.default:443"
|
|
- name: CONFIGURE_ETC_HOSTS
|
|
value: "true"
|