No puede seleccionar más de 25 temas
Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
|
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: groupmealweb
- namespace: kube-<NAMESPACES>
- spec:
-
- selector:
- matchLabels:
- app: groupmealweb
- replicas: 1
- template:
- metadata:
- labels:
- app: groupmealweb
- spec:
- containers:
- - image: 10.2.1.24:10242/bpa/groupmealweb:<BUILD_TAG>
- imagePullPolicy: IfNotPresent
- name: groupmealweb
- env:
- - name: branch
- value: <BRANCH_NAME>
- - name: TZ
- value: Asia/Shanghai
- ports:
- - containerPort: 80
- protocol: TCP
- volumeMounts:
- - mountPath: "/etc/localtime"
- name: timezone
- resources:
- requests:
- cpu: "100m"
- memory: "112Mi"
- limits:
- cpu: "500m"
- memory: "512Mi"
- volumes:
- - name: timezone
- hostPath:
- path: /usr/share/zoneinfo/Asia/Shanghai
- ---
- kind: Service
- apiVersion: v1
- metadata:
- labels:
- app: groupmealweb
- name: groupmealweb
- namespace: kube-<NAMESPACES>
- spec:
- type: ClusterIP
- ports:
- - port: 80
- name: http
- selector:
- app: groupmealweb
|