github.com/midokura/kubeedge@v1.2.0-mido.0/build/edge/kubernetes/04-deployment-edgenode.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: edgenode1 5 namespace: kubeedge 6 labels: 7 k8s-app: kubeedge 8 kubeedge: edgenode 9 spec: 10 selector: 11 matchLabels: 12 k8s-app: kubeedge 13 kubeedge: edgenode 14 template: 15 metadata: 16 labels: 17 k8s-app: kubeedge 18 kubeedge: edgenode 19 spec: 20 containers: 21 - name: edgenode 22 securityContext: 23 privileged: true 24 image: kubeedge/edgecore:latest 25 imagePullPolicy: IfNotPresent 26 resources: 27 limits: 28 cpu: 200m 29 memory: 1Gi 30 requests: 31 cpu: 100m 32 memory: 512Mi 33 env: 34 - name: DOCKER_HOST 35 value: tcp://localhost:2375 36 volumeMounts: 37 - name: certs 38 mountPath: /etc/kubeedge/certs 39 - name: conf 40 mountPath: /etc/kubeedge/edge/conf 41 - name: dind-daemon 42 securityContext: 43 privileged: true 44 image: docker:dind 45 resources: 46 requests: 47 cpu: 20m 48 memory: 512Mi 49 volumeMounts: 50 - name: docker-graph-storage 51 mountPath: /var/lib/docker 52 volumes: 53 - name: certs 54 hostPath: 55 path: /etc/kubeedge/certs 56 - name: conf 57 configMap: 58 name: edgenodeconf 59 - name: docker-graph-storage 60 emptyDir: {}