kubenetes 中安装 nps 客户端 npc

---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: nc
  name: nc
  namespace: default
spec:
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app: nc
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: nc
    spec:
      containers:
        - args:
            - '-server=your-server-ip'
            - '-vkey=your-key'
            - '-type=tcp'
          image: ffdfgdfg/npc
          imagePullPolicy: IfNotPresent
          name: nc
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      terminationGracePeriodSeconds: 30
status: {}