apiVersion: apps/v1 kind: Deployment metadata: name: busynix labels: app: busynix spec: replicas: 1 selector: matchLabels: app: busynix template: metadata: labels: app: busynix spec: dnsPolicy: Default containers: - image: registry.gitlab.com/serit/k8s/busynix:1.1 name: busynix imagePullPolicy: IfNotPresent command: - /bin/sh - "-c" - "while true; do echo ping | nc -l -p 8000; done" ports: - containerPort: 8000 imagePullSecrets: - name: gitlab-pull-secret