apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
  labels:
    name: nginx
spec:
  replicas: 3
  selector:
    matchLabels:
      name: nginx
  template:
    metadata:
      labels:
        name: nginx
    spec:
      # containers:
      #  - name: httpd
      #    image: httpd
      containers:
      - name: ds-example
        image: matlock08/kubeedge-jetson:0.1.1-arm
        imagePullPolicy: "Always"
        securityContext:
          privileged: true
          allowPrivilegeEscalation: true
# ---
# apiVersion: v1
# kind: Service
# metadata:
#   name: nginx
#   labels:
#     name: nginx
# spec:
#   type: NodePort
#   ports:
#     - port: 80
#       nodePort: 30080
#       name: http
#   selector:
#     name: nginx