apiVersion: apps/v1 kind: Deployment metadata: name: crossword namespace: plpark-int-ns labels: app: crossword spec: replicas: 1 selector: matchLabels: app: crossword template: metadata: labels: app: crossword spec: imagePullSecrets: - name: gitea-registry dnsConfig: options: - name: ndots value: "1" containers: - name: crossword image: __IMAGE__ ports: - containerPort: 8080 name: http readinessProbe: httpGet: path: /healthz port: 8080 initialDelaySeconds: 3 periodSeconds: 10 livenessProbe: httpGet: path: /healthz port: 8080 initialDelaySeconds: 10 periodSeconds: 20 resources: requests: cpu: 10m memory: 32Mi limits: cpu: 200m memory: 128Mi --- apiVersion: v1 kind: Service metadata: name: crossword namespace: plpark-int-ns labels: app: crossword spec: type: NodePort selector: app: crossword ports: - name: http port: 8080 targetPort: 8080 nodePort: 31380