k8s deployment with persistentVolume
kind: Deployment apiVersion: apps/v1 metadata: name: mut-deployment namespace: default labels: app: mut spec: replicas: 1 selector: matchLabels: app: mut template: metadata: labels: app: mut spec: volumes: - name: testcase-storage persistentVolumeClaim: claimName: mut-pvc containers: - name: mut image: 'mut:20210531' ports: - containerPort: 80...
k8s之java-deployment
kind: Deployment apiVersion: apps/v1 metadata: name: pejava-deployment namespace: default labels: app: pejava spec: replicas: 1 selector: matchLabels: app: pejava template: metadata: labels: app: pejava spec: volumes: - name: git-storage persistentVolumeClaim: claimName: pejava-pvc containers: - name: pejava image: 'pejava:20210611' ports: - c...
k8s之mongo-deployment
kind: Deployment apiVersion: apps/v1 metadata: name: mongo-deployment namespace: default labels: app: mongo spec: replicas: 1 selector: matchLabels: app: mongo template: metadata: labels: app: mongo spec: containers: - name: mongo image: mongo ports: - containerPort: 27017 protocol: TCP
pe-deployment
kind: Deployment apiVersion: apps/v1 metadata: name: pe-deployment namespace: default labels: app: pe spec: replicas: 1 selector: matchLabels: app: pe template: metadata: labels: app: pe spec: containers: - name: pe image: 'pe:20210531' ports: - containerPort: 3001 protocol: TCP