apiVersion: apps/v1
kind: Deployment
metadata:
  name: pandax
  labels:
    app.kubernetes.io/name: pandax
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: pandax
  template:
    metadata:
      labels:
        app.kubernetes.io/name: pandax
    spec:
      serviceAccountName: pandax
      containers:
      - name: pandax
        image: xmadmin/pandax:v1.0
        imagePullPolicy: IfNotPresent
        ports:
        - name: http
          containerPort: 8080
          protocol: TCP
