apps/znc/znc.yaml (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
apiVersion: apps/v1 kind: Deployment metadata: name: znc labels: app: znc spec: selector: matchLabels: app: znc template: metadata: labels: app: znc spec: nodeSelector: arch: "amd64" imagePullSecrets: - name: registry-creds containers: - name: znc image: znc:slim imagePullPolicy: IfNotPresent volumeMounts: - name: config mountPath: "/znc-data" readOnly: false ports: - name: irc containerPort: 6666 volumes: - name: config persistentVolumeClaim: claimName: znc-config-dir --- apiVersion: v1 kind: Service metadata: name: znc spec: type: LoadBalancer selector: app: znc ports: - name: irc port: 6666 targetPort: 6666 |