apiVersion: v1 kind: Service metadata: name: mysite-service spec: selector: app/name: mysite ports: - name: http protocol: TCP port: 8001 targetPort: 8001 externalIPs: - 192.168.1.102 --- apiVersion: apps/v1 kind: Deployment metadata: name: mysite-deployment labels: app/name: mysite spec: replicas: 1 selector: matchLabels: app/name: mysite template: metadata: labels: app/name: mysite spec: containers: - name: mysite image: docker.andr3h3nriqu3s.com/mysite:latest imagePullPolicy: Always ports: - containerPort: 8001 imagePullSecrets: - name: kronos-registry-secret