Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
fc40cce9
Commit
fc40cce9
authored
Nov 11, 2018
by
Casey Davenport
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Calico to v3.3.1
parent
8307fb2f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
30 deletions
+36
-30
MAINTAINERS.md
cluster/addons/calico-policy-controller/MAINTAINERS.md
+0
-6
README.md
cluster/addons/calico-policy-controller/README.md
+1
-1
calico-clusterrole.yaml
...r/addons/calico-policy-controller/calico-clusterrole.yaml
+26
-16
calico-node-daemonset.yaml
...ddons/calico-policy-controller/calico-node-daemonset.yaml
+6
-6
typha-deployment.yaml
...ter/addons/calico-policy-controller/typha-deployment.yaml
+3
-1
No files found.
cluster/addons/calico-policy-controller/MAINTAINERS.md
deleted
100644 → 0
View file @
8307fb2f
# Maintainers
Matt Dupre
<matt@projectcalico.org>, Casey Davenport <casey@tigera.io>
and committers to the https://github.com/projectcalico/k8s-policy repository.
[

]()
cluster/addons/calico-policy-controller/README.md
View file @
fc40cce9
# Calico Policy Controller
# Calico Policy Controller
==============
Calico is an implementation of the Kubernetes network policy API. The provided manifests install:
Calico is an implementation of the Kubernetes network policy API. The provided manifests install:
-
A DaemonSet which runs Calico on each node in the cluster.
-
A DaemonSet which runs Calico on each node in the cluster.
-
A Deployment which installs the Calico Typha agent.
-
A Deployment which installs the Calico Typha agent.
-
A Service for the Calico Typha agent.
-
A Service for the Calico Typha agent.
-
Horizontal and vertical autoscalers for Calico.
### Learn More
### Learn More
...
...
cluster/addons/calico-policy-controller/calico-clusterrole.yaml
View file @
fc40cce9
...
@@ -30,13 +30,6 @@ rules:
...
@@ -30,13 +30,6 @@ rules:
-
pods/status
-
pods/status
verbs
:
verbs
:
-
update
-
update
-
apiGroups
:
[
"
"
]
resources
:
-
pods
verbs
:
-
get
-
list
-
watch
-
patch
-
patch
-
apiGroups
:
[
"
"
]
-
apiGroups
:
[
"
"
]
resources
:
resources
:
...
@@ -46,13 +39,6 @@ rules:
...
@@ -46,13 +39,6 @@ rules:
-
list
-
list
-
update
-
update
-
watch
-
watch
-
apiGroups
:
[
"
extensions"
]
resources
:
-
networkpolicies
verbs
:
-
get
-
list
-
watch
-
apiGroups
:
[
"
networking.k8s.io"
]
-
apiGroups
:
[
"
networking.k8s.io"
]
resources
:
resources
:
-
networkpolicies
-
networkpolicies
...
@@ -61,10 +47,8 @@ rules:
...
@@ -61,10 +47,8 @@ rules:
-
list
-
list
-
apiGroups
:
[
"
crd.projectcalico.org"
]
-
apiGroups
:
[
"
crd.projectcalico.org"
]
resources
:
resources
:
-
globalfelixconfigs
-
felixconfigurations
-
felixconfigurations
-
bgppeers
-
bgppeers
-
globalbgpconfigs
-
bgpconfigurations
-
bgpconfigurations
-
ippools
-
ippools
-
globalnetworkpolicies
-
globalnetworkpolicies
...
@@ -78,3 +62,29 @@ rules:
...
@@ -78,3 +62,29 @@ rules:
-
list
-
list
-
update
-
update
-
watch
-
watch
# Used in Calico v2.6 only - can be removed after upgrade.
-
apiGroups
:
[
"
"
]
resources
:
-
pods
verbs
:
-
get
-
list
-
watch
-
patch
-
apiGroups
:
[
"
crd.projectcalico.org"
]
resources
:
-
globalfelixconfigs
-
globalbgpconfigs
verbs
:
-
create
-
get
-
list
-
update
-
watch
-
apiGroups
:
[
"
extensions"
]
resources
:
-
networkpolicies
verbs
:
-
get
-
list
-
watch
cluster/addons/calico-policy-controller/calico-node-daemonset.yaml
View file @
fc40cce9
...
@@ -33,7 +33,7 @@ spec:
...
@@ -33,7 +33,7 @@ spec:
# container programs network policy and routes on each
# container programs network policy and routes on each
# host.
# host.
-
name
:
calico-node
-
name
:
calico-node
image
:
gcr.io/projectcalico-org/node:v
2.6.7
image
:
gcr.io/projectcalico-org/node:v
3.3.1
env
:
env
:
-
name
:
CALICO_DISABLE_FILE_LOGGING
-
name
:
CALICO_DISABLE_FILE_LOGGING
value
:
"
true"
value
:
"
true"
...
@@ -73,6 +73,7 @@ spec:
...
@@ -73,6 +73,7 @@ spec:
httpGet
:
httpGet
:
path
:
/liveness
path
:
/liveness
port
:
9099
port
:
9099
host
:
localhost
periodSeconds
:
10
periodSeconds
:
10
initialDelaySeconds
:
10
initialDelaySeconds
:
10
failureThreshold
:
6
failureThreshold
:
6
...
@@ -80,6 +81,7 @@ spec:
...
@@ -80,6 +81,7 @@ spec:
httpGet
:
httpGet
:
path
:
/readiness
path
:
/readiness
port
:
9099
port
:
9099
host
:
localhost
periodSeconds
:
10
periodSeconds
:
10
volumeMounts
:
volumeMounts
:
-
mountPath
:
/lib/modules
-
mountPath
:
/lib/modules
...
@@ -97,7 +99,7 @@ spec:
...
@@ -97,7 +99,7 @@ spec:
# This container installs the Calico CNI binaries
# This container installs the Calico CNI binaries
# and CNI network config file on each node.
# and CNI network config file on each node.
-
name
:
install-cni
-
name
:
install-cni
image
:
gcr.io/projectcalico-org/cni:v
1.11.2
image
:
gcr.io/projectcalico-org/cni:v
3.3.1
command
:
[
"
/install-cni.sh"
]
command
:
[
"
/install-cni.sh"
]
env
:
env
:
-
name
:
CNI_CONF_NAME
-
name
:
CNI_CONF_NAME
...
@@ -110,7 +112,7 @@ spec:
...
@@ -110,7 +112,7 @@ spec:
"plugins": [
"plugins": [
{
{
"type": "calico",
"type": "calico",
"log_level": "
debug
",
"log_level": "
info
",
"datastore_type": "kubernetes",
"datastore_type": "kubernetes",
"nodename": "__KUBERNETES_NODE_NAME__",
"nodename": "__KUBERNETES_NODE_NAME__",
"ipam": {
"ipam": {
...
@@ -118,11 +120,9 @@ spec:
...
@@ -118,11 +120,9 @@ spec:
"subnet": "usePodCidr"
"subnet": "usePodCidr"
},
},
"policy": {
"policy": {
"type": "k8s",
"type": "k8s"
"k8s_auth_token": "__SERVICEACCOUNT_TOKEN__"
},
},
"kubernetes": {
"kubernetes": {
"k8s_api_root": "https://__KUBERNETES_SERVICE_HOST__:__KUBERNETES_SERVICE_PORT__",
"kubeconfig": "__KUBECONFIG_FILEPATH__"
"kubeconfig": "__KUBECONFIG_FILEPATH__"
}
}
},
},
...
...
cluster/addons/calico-policy-controller/typha-deployment.yaml
View file @
fc40cce9
...
@@ -23,7 +23,7 @@ spec:
...
@@ -23,7 +23,7 @@ spec:
hostNetwork
:
true
hostNetwork
:
true
serviceAccountName
:
calico
serviceAccountName
:
calico
containers
:
containers
:
-
image
:
gcr.io/projectcalico-org/typha:v
0.5.6
-
image
:
gcr.io/projectcalico-org/typha:v
3.3.1
name
:
calico-typha
name
:
calico-typha
ports
:
ports
:
-
containerPort
:
5473
-
containerPort
:
5473
...
@@ -58,12 +58,14 @@ spec:
...
@@ -58,12 +58,14 @@ spec:
httpGet
:
httpGet
:
path
:
/liveness
path
:
/liveness
port
:
9098
port
:
9098
host
:
localhost
periodSeconds
:
30
periodSeconds
:
30
initialDelaySeconds
:
30
initialDelaySeconds
:
30
readinessProbe
:
readinessProbe
:
httpGet
:
httpGet
:
path
:
/readiness
path
:
/readiness
port
:
9098
port
:
9098
host
:
localhost
periodSeconds
:
10
periodSeconds
:
10
volumes
:
volumes
:
-
name
:
etc-calico
-
name
:
etc-calico
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment