Created
March 13, 2018 08:50
-
-
Save ikurni/a23b0fe133ca7732e049e31f911a11a9 to your computer and use it in GitHub Desktop.
Daemon Set ACI Container hosts
This file contains hidden or 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
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
annotations: | |
kubectl.kubernetes.io/last-applied-configuration: | | |
{"apiVersion":"extensions/v1beta1","kind":"DaemonSet","metadata":{"annotations":{},"labels":{"aci-containers-config-version":"ac19175f-667f-4bf7-8b2c-4e6ed07802cd","network-plugin":"aci-containers"},"name":"aci-containers-host","namespace":"kube-system"},"spec":{"template":{"metadata":{"annotations":{"scheduler.alpha.kubernetes.io/critical-pod":""},"labels":{"name":"aci-containers-host","network-plugin":"aci-containers"}},"spec":{"containers":[{"env":[{"name":"KUBERNETES_NODE_NAME","valueFrom":{"fieldRef":{"fieldPath":"spec.nodeName"}}}],"image":"noiro/aci-containers-host:1.6r15","imagePullPolicy":"Always","livenessProbe":{"httpGet":{"path":"/status","port":8090}},"name":"aci-containers-host","securityContext":{"capabilities":{"add":["SYS_ADMIN","NET_ADMIN"]},"privileged":true},"volumeMounts":[{"mountPath":"/mnt/cni-bin","name":"cni-bin"},{"mountPath":"/mnt/cni-conf","name":"cni-conf"},{"mountPath":"/usr/local/var","name":"hostvar"},{"mountPath":"/run","name":"hostrun"},{"mountPath":"/usr/local/run","name":"hostrun"},{"mountPath":"/usr/local/etc/opflex-agent-ovs/base-conf.d","name":"opflex-hostconfig-volume"},{"mountPath":"/usr/local/etc/aci-containers/","name":"host-config-volume"}]},{"image":"noiro/opflex:1.6r17","imagePullPolicy":"Always","name":"opflex-agent","securityContext":{"capabilities":{"add":["NET_ADMIN"]},"privileged":true},"volumeMounts":[{"mountPath":"/usr/local/var","name":"hostvar"},{"mountPath":"/run","name":"hostrun"},{"mountPath":"/usr/local/run","name":"hostrun"},{"mountPath":"/usr/local/etc/opflex-agent-ovs/base-conf.d","name":"opflex-hostconfig-volume"},{"mountPath":"/usr/local/etc/opflex-agent-ovs/conf.d","name":"opflex-config-volume"}]},{"args":["/usr/local/bin/launch-mcastdaemon.sh"],"command":["/bin/sh"],"image":"noiro/opflex:1.6r17","imagePullPolicy":"Always","name":"mcast-daemon","securityContext":{"privileged":true},"volumeMounts":[{"mountPath":"/usr/local/var","name":"hostvar"},{"mountPath":"/run","name":"hostrun"},{"mountPath":"/usr/local/run","name":"hostrun"}]}],"hostIPC":true,"hostNetwork":true,"hostPID":true,"initContainers":[{"image":"noiro/cnideploy:1.6r15","imagePullPolicy":"Always","name":"cnideploy","securityContext":{"capabilities":{"add":["SYS_ADMIN"]},"privileged":true},"volumeMounts":[{"mountPath":"/mnt/cni-bin","name":"cni-bin"}]}],"restartPolicy":"Always","serviceAccountName":"aci-containers-host-agent","tolerations":[{"key":"CriticalAddonsOnly"},{"effect":"NoSchedule","key":"node-role.kubernetes.io/master"}],"volumes":[{"hostPath":{"path":"/opt"},"name":"cni-bin"},{"hostPath":{"path":"/etc"},"name":"cni-conf"},{"hostPath":{"path":"/var"},"name":"hostvar"},{"hostPath":{"path":"/run"},"name":"hostrun"},{"configMap":{"items":[{"key":"host-agent-config","path":"host-agent.conf"}],"name":"aci-containers-config"},"name":"host-config-volume"},{"emptyDir":{"medium":"Memory"},"name":"opflex-hostconfig-volume"},{"configMap":{"items":[{"key":"opflex-agent-config","path":"local.conf"}],"name":"aci-containers-config"},"name":"opflex-config-volume"}]}},"updateStrategy":{"type":"RollingUpdate"}}} | |
creationTimestamp: null | |
generation: 1 | |
labels: | |
aci-containers-config-version: ac19175f-667f-4bf7-8b2c-4e6ed07802cd | |
network-plugin: aci-containers | |
name: aci-containers-host | |
spec: | |
selector: | |
matchLabels: | |
name: aci-containers-host | |
network-plugin: aci-containers | |
template: | |
metadata: | |
annotations: | |
pod.alpha.kubernetes.io/init-containers: '[{"name":"cnideploy","image":"noiro/cnideploy:1.6r15","resources":{},"volumeMounts":[{"name":"cni-bin","mountPath":"/mnt/cni-bin"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"capabilities":{"add":["SYS_ADMIN"]},"privileged":true}}]' | |
pod.beta.kubernetes.io/init-containers: '[{"name":"cnideploy","image":"noiro/cnideploy:1.6r15","resources":{},"volumeMounts":[{"name":"cni-bin","mountPath":"/mnt/cni-bin"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always","securityContext":{"capabilities":{"add":["SYS_ADMIN"]},"privileged":true}}]' | |
scheduler.alpha.kubernetes.io/critical-pod: "" | |
creationTimestamp: null | |
labels: | |
name: aci-containers-host | |
network-plugin: aci-containers | |
spec: | |
containers: | |
- env: | |
- name: KUBERNETES_NODE_NAME | |
valueFrom: | |
fieldRef: | |
apiVersion: v1 | |
fieldPath: spec.nodeName | |
image: noiro/aci-containers-host:1.6r15 | |
imagePullPolicy: Always | |
livenessProbe: | |
failureThreshold: 3 | |
httpGet: | |
path: /status | |
port: 8090 | |
scheme: HTTP | |
periodSeconds: 10 | |
successThreshold: 1 | |
timeoutSeconds: 1 | |
name: aci-containers-host | |
resources: {} | |
securityContext: | |
capabilities: | |
add: | |
- SYS_ADMIN | |
- NET_ADMIN | |
privileged: true | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /mnt/cni-bin | |
name: cni-bin | |
- mountPath: /mnt/cni-conf | |
name: cni-conf | |
- mountPath: /usr/local/var | |
name: hostvar | |
- mountPath: /run | |
name: hostrun | |
- mountPath: /usr/local/run | |
name: hostrun | |
- mountPath: /usr/local/etc/opflex-agent-ovs/base-conf.d | |
name: opflex-hostconfig-volume | |
- mountPath: /usr/local/etc/aci-containers/ | |
name: host-config-volume | |
- image: noiro/opflex:1.6r17 | |
imagePullPolicy: Always | |
name: opflex-agent | |
resources: {} | |
securityContext: | |
capabilities: | |
add: | |
- NET_ADMIN | |
privileged: true | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /usr/local/var | |
name: hostvar | |
- mountPath: /run | |
name: hostrun | |
- mountPath: /usr/local/run | |
name: hostrun | |
- mountPath: /usr/local/etc/opflex-agent-ovs/base-conf.d | |
name: opflex-hostconfig-volume | |
- mountPath: /usr/local/etc/opflex-agent-ovs/conf.d | |
name: opflex-config-volume | |
- args: | |
- /usr/local/bin/launch-mcastdaemon.sh | |
command: | |
- /bin/sh | |
image: noiro/opflex:1.6r17 | |
imagePullPolicy: Always | |
name: mcast-daemon | |
resources: {} | |
securityContext: | |
privileged: true | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /usr/local/var | |
name: hostvar | |
- mountPath: /run | |
name: hostrun | |
- mountPath: /usr/local/run | |
name: hostrun | |
dnsPolicy: ClusterFirst | |
hostIPC: true | |
hostNetwork: true | |
hostPID: true | |
initContainers: | |
- image: noiro/cnideploy:1.6r15 | |
imagePullPolicy: Always | |
name: cnideploy | |
resources: {} | |
securityContext: | |
capabilities: | |
add: | |
- SYS_ADMIN | |
privileged: true | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
volumeMounts: | |
- mountPath: /mnt/cni-bin | |
name: cni-bin | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
serviceAccount: aci-containers-host-agent | |
serviceAccountName: aci-containers-host-agent | |
terminationGracePeriodSeconds: 30 | |
tolerations: | |
- key: CriticalAddonsOnly | |
- effect: NoSchedule | |
key: node-role.kubernetes.io/master | |
volumes: | |
- hostPath: | |
path: /opt | |
name: cni-bin | |
- hostPath: | |
path: /etc | |
name: cni-conf | |
- hostPath: | |
path: /var | |
name: hostvar | |
- hostPath: | |
path: /run | |
name: hostrun | |
- configMap: | |
defaultMode: 420 | |
items: | |
- key: host-agent-config | |
path: host-agent.conf | |
name: aci-containers-config | |
name: host-config-volume | |
- emptyDir: | |
medium: Memory | |
name: opflex-hostconfig-volume | |
- configMap: | |
defaultMode: 420 | |
items: | |
- key: opflex-agent-config | |
path: local.conf | |
name: aci-containers-config | |
name: opflex-config-volume | |
templateGeneration: 1 | |
updateStrategy: | |
rollingUpdate: | |
maxUnavailable: 1 | |
type: RollingUpdate | |
status: | |
currentNumberScheduled: 4 | |
desiredNumberScheduled: 4 | |
numberAvailable: 4 | |
numberMisscheduled: 0 | |
numberReady: 4 | |
observedGeneration: 1 | |
updatedNumberScheduled: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment