apiVersion : apps/v1 kind : Deployment metadata : name : vigimeteo-frontend spec : replicas : 2 selector : matchLabels : app : vigimeteo-frontend template : metadata : labels : app : vigimeteo-frontend spec : containers : - name : vigimeteo-frontend image : z1-frontend:latest imagePullPolicy: IfNotPresent ports : - containerPort : 80 ##env : ##- name : BACKEND_URL ## value : "http://vigimeteo-backend-service:8080" --- apiVersion : v1 kind : Service metadata : name : vigimeteo-frontend-service spec : selector : app : vigimeteo-frontend ports : - protocol : TCP port : 80 targetPort : 80 type : LoadBalancer