This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 558
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure CNI networkmonitor addon (#3198)
- Loading branch information
1 parent
1e4f703
commit 254fcee
Showing
13 changed files
with
508 additions
and
363 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
apiVersion: extensions/v1beta1 | ||
kind: DaemonSet | ||
metadata: | ||
name: azure-cni-networkmonitor | ||
namespace: kube-system | ||
labels: | ||
app: azure-cnms | ||
addonmanager.kubernetes.io/mode: "EnsureExists" | ||
spec: | ||
selector: | ||
matchLabels: | ||
k8s-app: azure-cnms | ||
template: | ||
metadata: | ||
labels: | ||
k8s-app: azure-cnms | ||
annotations: | ||
scheduler.alpha.kubernetes.io/critical-pod: '' | ||
spec: | ||
tolerations: | ||
- key: CriticalAddonsOnly | ||
operator: Exists | ||
containers: | ||
- name: azure-cnms | ||
image: <azureCNINetworkMonitorImage> | ||
securityContext: | ||
privileged: true | ||
env: | ||
- name: HOSTNAME | ||
valueFrom: | ||
fieldRef: | ||
apiVersion: v1 | ||
fieldPath: spec.nodeName | ||
volumeMounts: | ||
- name: ebtables-rule-repo | ||
mountPath: /var/run | ||
- name: log | ||
mountPath: /var/log | ||
hostNetwork: true | ||
volumes: | ||
- name: log | ||
hostPath: | ||
path: /var/log | ||
type: Directory | ||
- name: ebtables-rule-repo | ||
hostPath: | ||
path: /var/run/ | ||
type: Directory |
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
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
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
Oops, something went wrong.