在kubernetes上部署到特定的后端URL

我需要在前端部署yaml上指定特定的后端服务器地址,但在文档中找不到该方法。

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: {}
m258494824 回答:在kubernetes上部署到特定的后端URL

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3066018.html

大家都在问