-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Calico version, add policy-controller to samples.
- Loading branch information
1 parent
176356e
commit b0369e4
Showing
3 changed files
with
52 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: policy-controller | ||
namespace: kube-system | ||
labels: | ||
projectcalico.org/app: "policy-controller" | ||
spec: | ||
hostNetwork: true | ||
containers: | ||
# The Calico policy controller. | ||
- name: policy-controller | ||
image: calico/kube-policy-controller:v0.2.0 | ||
env: | ||
# Modify ETCD_ENDPOINTS to match your etcd cluster. | ||
- name: ETCD_ENDPOINTS | ||
value: "http://127.0.0.1:2379" | ||
- name: K8S_API | ||
value: "http://127.0.0.1:8080" | ||
- name: LEADER_ELECTION | ||
value: "false" |