Deploy on kubernetes to a specific backend URL

11/20/2019

I need specific backend server address on frontend deployment yaml, but I can't find the method in the documentation for that.

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  creationTimestamp: null
  name: frontend
  namespace: web-console
spec:
  replicas: 1
  strategy: {}
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: frontend
    spec:
      containers:
      - image: 
        name: frontend
        ports:
        - containerPort: 80
        resources: {}
      restartPolicy: Always
      # remove this property if you use a public Docker repository
      imagePullSecrets:
        - name: registrykey      
status: {}
-- Lt.dan
deployment
ignite
kubernetes

0 Answers