You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-cloud-alibaba/spring-cloud-alibaba-examples/integrated-example/helm-chart/templates/integrated-gateway.yaml

39 lines
768 B
YAML

apiVersion: v1
kind: Service
metadata:
name: gateway-service
labels:
app: integrated-gateway
spec:
type: NodePort
ports:
- port: 30010
name: server
targetPort: 30010
nodePort: 30010
selector:
app: integrated-gateway
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: integrated-gateway
spec:
replicas: 1
selector:
matchLabels:
app: integrated-gateway
template:
metadata:
labels:
appName: integrated-gateway
app: integrated-gateway
spec:
containers:
- name: integrated-gateway
image: "{{ .Values.image.repository }}integrated-gateway"
imagePullPolicy: Always
ports:
- name: http-port
containerPort: 30010