apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: workload
  name: workload
  namespace: kube-system
spec:
  replicas: 1
  selector:
    matchLabels:
      app: workload
  strategy: {}
  template:
    metadata:
      labels:
        app: workload
    spec:
      serviceAccount: fuxi-app
      containers:
      - name: workload
        image: yametech/workload:v0.1.0
        args: ["--registry", "etcd", "--registry_address", "etcd.kube-system.svc.cluster.local:2379", "--etcd_address", "etcd.kube-system.svc.cluster.local:2379","--in_cluster","true"]
        imagePullPolicy: Always
      restartPolicy: Always