local-sonar.yaml apiVersion: apps/v1 kind: Deployment metadata: name: local-sonar-deployment labels: app: local-sonar spec: replicas: 1 template: metadata: name: local-sonar labels: app: local-sonar spec: containers: - name: sonar image: sonarqube imagePullPolicy: IfNotPresent ports: - containerPort: 9000 protocol: TCP name: local-sonar-svc restartPolicy: Always selector: matchLabels: app: local..