apiVersion: apps/v1 kind: Deployment metadata: name: videos-api labels: app: videos-api spec: selector: matchLabels: app: videos-api replicas: 1 strategy: type: RollingUpdate rollingUpdate: maxSurge: 1 maxUnavailable: 0 template: metadata: labels: app: videos-api spec: containers: - name: videos-api image: aimvector/jaeger-tracing:videos-api-1.0.0 imagePullPolicy : Always ports: - containerPort: 10010 env: - name: "ENVIRONMENT" value: "DEBUG" - name: "REDIS_HOST" value: "videos-db" - name: "REDIS_PORT" value: "6379" - name: "FLAKY" value: "false" --- apiVersion: v1 kind: Service metadata: name: videos-api labels: app: videos-api spec: type: ClusterIP selector: app: videos-api ports: - protocol: TCP name: http port: 10010 targetPort: 10010 ---