Commit fdcb121f by ChongmingDu

init 0

parent 00186e4f
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metedata:
name: base-service-prometheus
namespace: default
labels:
prometheus: base-service
spec:
resources:
requests:
memory: 400Mi
version: v1.7.1
serviceMonitorSelector:
matchLabels:
app: base-service
\ No newline at end of file
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: base-service
labels:
app: base-service
spec:
selector:
matchLabels:
app: base-service
endpoints:
- port: export
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: base-service
labels:
app: base-service
spec:
selector:
app: base-service
ports:
- protocol: TCP
port: 8081
targetPort: 8080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: base-service
spec:
selector:
matchLabels:
app: base-service
template:
metadata:
labels:
app: base-service
spec:
containers:
- name: base-service
image: registry.mayi118.com/mayi-service/user-service-core:1.0.1.ANT-SNAPSHOT.321
env:
- name: MYSQL_R_HOST
value: "10.103.90.133:3306"
- name: MYSQL_R_DB
value: "mayi_base"
- name: MYSQL_R_USER
value: "root"
- name: MYSQL_R_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: MYSQL_W_HOST
value: "10.103.90.133:3306"
- name: MYSQL_W_DB
value: "mayi_base"
- name: MYSQL_W_USER
value: "root"
- name: MYSQL_W_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: redis.host
value: "10.102.68.252"
- name: redis.port
value: "6379"
- name: ACTIVEMQ_BROKER
value: "10.100.57.106:61616"
- name: DUBBO_REGISTRY
value: "10.102.61.158:8848"
- name: dubbo.registry.address
value: "10.102.61.158:8848"
- name: MONGODB_HOST
value: "10.100.102.139"
- name: MONGODB_PROT
value: "27017"
ports:
- containerPort: 8080
name: export
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: goods-service
labels:
app: goods-service
spec:
selector:
app: goods-service
ports:
- protocol: TCP
port: 8085
targetPort: 8080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: goods-service
spec:
selector:
matchLabels:
app: goods-service
template:
metadata:
labels:
app: goods-service
spec:
containers:
- name: goods-service
image: registry.mayi118.com/mayi-service/goods-service-core:1.0.1.ANT-SNAPSHOT.353
env:
- name: MYSQL_R_HOST
value: "10.103.90.133:3306"
- name: MYSQL_R_DB
value: "mayi_goods"
- name: MYSQL_R_USER
value: "root"
- name: MYSQL_R_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: MYSQL_W_HOST
value: "10.103.90.133:3306"
- name: MYSQL_W_DB
value: "mayi_goods"
- name: MYSQL_W_USER
value: "root"
- name: MYSQL_W_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: redis.host
value: "10.102.68.252"
- name: redis.port
value: "6379"
- name: ACTIVEMQ_BROKER
value: "10.100.57.106:61616"
- name: DUBBO_REGISTRY
value: "10.102.61.158:8848"
- name: dubbo.registry.address
value: "10.102.61.158:8848"
- name: MONGODB_HOST
value: "10.100.102.139"
- name: MONGODB_PROT
value: "27017"
ports:
- containerPort: 8080
name: export
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: info-service
labels:
app: info-service
spec:
selector:
app: info-service
ports:
- protocol: TCP
port: 8084
targetPort: 8080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: info-service
spec:
selector:
matchLabels:
app: info-service
template:
metadata:
labels:
app: info-service
spec:
containers:
- name: info-service
image: registry.mayi118.com/mayi-service/user-service-core:1.0.1.ANT-SNAPSHOT.321
env:
- name: MYSQL_R_HOST
value: "10.103.90.133:3306"
- name: MYSQL_R_DB
value: "mayi_info"
- name: MYSQL_R_USER
value: "root"
- name: MYSQL_R_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: MYSQL_W_HOST
value: "10.103.90.133:3306"
- name: MYSQL_W_DB
value: "mayi_info"
- name: MYSQL_W_USER
value: "root"
- name: MYSQL_W_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: redis.host
value: "10.102.68.252"
- name: redis.port
value: "6379"
- name: ACTIVEMQ_BROKER
value: "10.100.57.106:61616"
- name: DUBBO_REGISTRY
value: "10.102.61.158:8848"
- name: dubbo.registry.address
value: "10.102.61.158:8848"
- name: MONGODB_HOST
value: "10.100.102.139"
- name: MONGODB_PROT
value: "27017"
ports:
- containerPort: 8080
name: export
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: message-service
labels:
app: message-service
spec:
selector:
app: message-service
ports:
- protocol: TCP
port: 8083
targetPort: 8080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: message-service
spec:
selector:
matchLabels:
app: message-service
template:
metadata:
labels:
app: message-service
spec:
containers:
- name: user-service
image: registry.mayi118.com/mayi-service/message-service-core:1.0.1.ANT-SNAPSHOT.312
env:
- name: MYSQL_R_HOST
value: "10.103.90.133:3306"
- name: MYSQL_R_DB
value: "mayi_message"
- name: MYSQL_R_USER
value: "root"
- name: MYSQL_R_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: MYSQL_W_HOST
value: "10.103.90.133:3306"
- name: MYSQL_W_DB
value: "mayi_message"
- name: MYSQL_W_USER
value: "root"
- name: MYSQL_W_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: redis.host
value: "10.102.68.252"
- name: redis.port
value: "6379"
- name: ACTIVEMQ_BROKER
value: "10.100.57.106:61616"
- name: DUBBO_REGISTRY
value: "10.102.61.158:8848"
- name: dubbo.registry.address
value: "10.102.61.158:8848"
- name: MONGODB_HOST
value: "10.100.102.139"
- name: MONGODB_PROT
value: "27017"
ports:
- containerPort: 8080
name: export
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: schedule-service
labels:
app: schedule-service
spec:
selector:
app: schedule-service
ports:
- protocol: TCP
port: 8087
targetPort: 8080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: schedule-service
spec:
selector:
matchLabels:
app: schedule-service
template:
metadata:
labels:
app: schedule-service
spec:
containers:
- name: schedule-service
image: registry.mayi118.com/mayi-service/schedule-service-core:1.0.1.ANT-SNAPSHOT.390
env:
- name: MYSQL_R_HOST
value: "10.103.90.133:3306"
- name: MYSQL_R_DB
value: "mayi_schedule"
- name: MYSQL_R_USER
value: "root"
- name: MYSQL_R_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: MYSQL_W_HOST
value: "10.103.90.133:3306"
- name: MYSQL_W_DB
value: "mayi_schedule"
- name: MYSQL_W_USER
value: "root"
- name: MYSQL_W_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: redis.host
value: "10.102.68.252"
- name: redis.port
value: "6379"
- name: ACTIVEMQ_BROKER
value: "10.100.57.106:61616"
- name: DUBBO_REGISTRY
value: "10.102.61.158:8848"
- name: dubbo.registry.address
value: "10.102.61.158:8848"
- name: MONGODB_HOST
value: "10.100.102.139"
- name: MONGODB_PROT
value: "27017"
ports:
- containerPort: 8080
name: export
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: shop-api-service
labels:
app: shop-api-service
spec:
selector:
app: shop-api-service
ports:
- protocol: TCP
port: 8086
targetPort: 8080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: shop-api-service
spec:
selector:
matchLabels:
app: shop-api-service
template:
metadata:
labels:
app: shop-api-service
spec:
containers:
- name: shop-api-service
image: registry.mayi118.com/mayi-service/shop-api-service:1.0.1.ANT-SNAPSHOT.390
env:
- name: redis.host
value: "10.102.68.252"
- name: redis.port
value: "6379"
- name: ACTIVEMQ_BROKER
value: "10.100.57.106:61616"
- name: DUBBO_REGISTRY
value: "10.102.61.158:8848"
- name: dubbo.registry.address
value: "10.102.61.158:8848"
- name: MONGODB_HOST
value: "10.100.102.139"
- name: MONGODB_PROT
value: "27017"
ports:
- containerPort: 8080
name: export
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: user-service
labels:
app: user-service
spec:
selector:
app: user-service
ports:
- protocol: TCP
port: 8082
targetPort: 8080
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: user-service
spec:
selector:
matchLabels:
app: user-service
template:
metadata:
labels:
app: user-service
spec:
containers:
- name: user-service
image: registry.mayi118.com/mayi-service/user-service-core:1.0.1.ANT-SNAPSHOT.321
env:
- name: MYSQL_R_HOST
value: "10.103.90.133:3306"
- name: MYSQL_R_DB
value: "mayi_user"
- name: MYSQL_R_USER
value: "root"
- name: MYSQL_R_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: MYSQL_W_HOST
value: "10.103.90.133:3306"
- name: MYSQL_W_DB
value: "mayi_user"
- name: MYSQL_W_USER
value: "root"
- name: MYSQL_W_PASSWORD
value: "Q/XhvuSWyn8rErEfbag2qM=="
- name: redis.host
value: "10.102.68.252"
- name: redis.port
value: "6379"
- name: ACTIVEMQ_BROKER
value: "10.100.57.106:61616"
- name: DUBBO_REGISTRY
value: "10.102.61.158:8848"
- name: dubbo.registry.address
value: "10.102.61.158:8848"
- name: MONGODB_HOST
value: "10.100.102.139"
- name: MONGODB_PROT
value: "27017"
ports:
- containerPort: 8080
name: export
\ No newline at end of file
version: '2.2'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.1
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
networks:
- esnet
kibana:
image: docker.elastic.co/kibana/kibana:6.6.1
ports:
- 5601:5601
networks:
- esnet
volumes:
esdata1:
driver: local
networks:
esnet:
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: queue
spec:
ports:
- port: 61616
targetPort: 61616
selector:
app: queue
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: queue
spec:
replicas: 1
template:
metadata:
labels:
app: queue
spec:
containers:
- name: web
image: webcenter/activemq:5.14.3
imagePullPolicy: IfNotPresent
ports:
- containerPort: 61616
resources:
limits:
memory: 512Mi
\ No newline at end of file
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: fast
provisioner: kubernetes.io/rbd
parameters:
monitors: 192.168.1.250:6789
adminId: admin
adminSecretName: ceph-secret-admin
adminSecretNamespace: kube-system
pool: kube
userId: kube
userSecretName: ceph-secret
userSecretNamespace: default
fsType: xfs
imageFormat: "2"
imageFeatures: "layering"
\ No newline at end of file
apiVersion: v1
kind: Secret
metadata:
name: ceph-secret-admin
namespace: kube-system
type: "kubernetes.io/rdb"
data:
key: QVFCVjV5WmNjRitaR3hBQXNZMFBBQ3NXd1c1d3BsMVF1d1ZYWGc9PQ==
\ No newline at end of file
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: slow
provisioner: kubernetes.io/glusterfs
parameters:
resturl: "http://192.168.1.251:8080"
clusterid: "3e17e329743ecee99cf9ac093c89ddef"
restauthenabled: "true"
restuser: "admin"
secretName: "heketi-secret"
gidMin: "40000"
gidMax: "50000"
volumetype: "replicate:2"
apiVersion: apps/v1
kind: Deployment
metadata:
name: guide-front
labels:
app: webapp
spec:
selector:
matchLabels:
app: webapp
replicas: 1
template:
metadata:
labels:
app: webapp
spec:
containers:
- name: guide-front
image: registry.mayi118.com/guide-front-m:0.1.7
ports:
- containerPort: 3000
name: webapp
---
kind: Service
apiVersion: v1
metadata:
name: webapp
spec:
selector:
app: webapp
#type: NodePort
ports:
- protocol: TCP
#nodePort: 31381
port: 3000
targetPort: 3000
\ No newline at end of file
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: webapp-gateway
spec:
selector:
istio: ingressgateway # use Istio default gateway implementation
servers:
- port:
number: 31381
name: http
protocol: HTTP
hosts:
- "k8s.ex.com"
\ No newline at end of file
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: webapp
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: '192.168.1.252:31381'
http:
paths:
- path: /api/baseService
backend:
serviceName: base-service
servicePort: 8081
\ No newline at end of file
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: mayi-base
spec:
hosts:
- "*"
gateways:
- webapp-gateway
http:
- match:
- uri:
prefix: /baseService
route:
- destination:
port:
number: 8081
host: base-service
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: mayi-user
spec:
hosts:
- "k8s.mayi888.com"
gateways:
- mayi888-gateway
http:
- match:
- uri:
prefix: /userSrvs
route:
- destination:
port:
number: 8082
host: user-service
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: mayi-message
spec:
hosts:
- "k8s.mayi888.com"
gateways:
- mayi888-gateway
http:
- match:
- uri:
prefix: /messageServices
route:
- destination:
port:
number: 8083
host: message-service
\ No newline at end of file
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: jenkins-gateway
spec:
selector:
istio: ingressgateway # use Istio default gateway implementation
servers:
- port:
number: 8080
name: http
protocol: HTTP
hosts:
- "*"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: jenkins-service
spec:
hosts:
- "*"
gateways:
- jenkins-gateway
http:
- match:
- uri:
prefix: /jenkins
route:
- destination:
port:
number: 8080
host: jenkins
\ No newline at end of file
apiVersion: v1
kind: ConfigMap
metadata:
name: fluentbit-config
data:
fluent-bit.conf: |
[SERVICE]
Flush 5
Daemon off
Log_Level error
Log_File /fluent-bit/log/fluent-bit.log
[INPUT]
Name tail
Path /log/*
Refresh_Interval 10
DB /fluent-bit/fluent-bit.db
[FILTER]
Name modify
Match *
Add_if_not_present k8s-app log-contanier-file-fluentbit
[OUTPUT]
Name es
Match *
Host elasticsearch-logging.logging
Port 9200
Logstash_Format On
Logstash_Prefix fluentbit-k8s
Logstash_DateFormat %Y.%m.%d
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: log-contanier-file-fluentbit
labels:
k8s-app: log-contanier-file-fluentbit
spec:
replicas: 1
selector:
matchLabels:
k8s-app: log-contanier-file-fluentbit
template:
metadata:
labels:
k8s-app: log-contanier-file-fluentbit
spec:
terminationGracePeriodSeconds: 30
containers:
- name: log-contanier-file-fluentbit
image: alpine:latest
command:
- sh
- -c
- 'count=1;while true;do echo log to file $count>>/data/logs/log-contanier-file-fluentbit.log;sleep 1;count=$(($count+1));done'
volumeMounts:
- name: app-logs
mountPath: /data/logs
- name: fluentbit-logging
image: fluent/fluent-bit:0.13
volumeMounts:
- name: app-logs
mountPath: /log
- name: fluentbit-config
mountPath: /fluent-bit/etc/
volumes:
- name: app-logs
emptyDir: {}
- name: fluentbit-config
configMap:
name: fluentbit-config
\ No newline at end of file
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
k8s-app: base-service
name: base-service
namespace: monitoring
spec:
endpoints:
- interval: 30s
path: /actuator/prometheus
port: export
namespaceSelector:
matchNames:
- default
selector:
matchLabels:
app: base-service
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: mysql
spec:
type: NodePort
ports:
- port: 3306
nodePort: 30000
selector:
app: mysql
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mysql-pv-claim
spec:
accessModes:
- ReadWriteMany
storageClassName: ""
resources:
requests:
storage: 50Gi
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: mysql
spec:
template:
metadata:
labels:
app: mysql
spec:
containers:
- name: mysql
image: mysql:5.7
env:
- name: MYSQL_ROOT_PASSWORD
value: 1q2w3e4r
ports:
- containerPort: 3306
name: mysql
volumeMounts:
- mountPath: /var/lib/mysql
name: mysql-pv
volumes:
- name: mysql-pv
persistentVolumeClaim:
claimName: mysql-pv-claim
apiVersion: v1
kind: Service
metadata:
name: nacos
labels:
app: nacos
spec:
type: NodePort
ports:
- port: 8848
name: server
targetPort: 8848
selector:
app: nacos
---
apiVersion: v1
kind: ConfigMap
metadata:
name: nacos-cf
data:
mysql.master.db.name: "nacosdb"
mysql.master.port: "3306"
mysql.slave.port: "3306"
mysql.master.user: "root"
mysql.master.password: "1q2w3e4r"
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: nacos
spec:
template:
metadata:
labels:
app: nacos
spec:
containers:
- name: nacos
image: nacos/nacos-server
ports:
- containerPort: 8848
name: nacos
env:
- name: MYSQL_MASTER_SERVICE_DB_NAME
valueFrom:
configMapKeyRef:
name: nacos-cf
key: mysql.master.db.name
- name: MYSQL_MASTER_SERVICE_PORT
valueFrom:
configMapKeyRef:
name: nacos-cf
key: mysql.master.port
- name: MYSQL_SLAVE_SERVICE_PORT
valueFrom:
configMapKeyRef:
name: nacos-cf
key: mysql.slave.port
- name: MYSQL_MASTER_SERVICE_USER
valueFrom:
configMapKeyRef:
name: nacos-cf
key: mysql.master.user
- name: MYSQL_MASTER_SERVICE_PASSWORD
valueFrom:
configMapKeyRef:
name: nacos-cf
key: mysql.master.password
- name: NACOS_SERVER_PORT
value: "8848"
- name: PREFER_HOST_MODE
value: "hostname"
apiVersion: v1
kind: PersistentVolume
metadata:
name: nfs
spec:
capacity:
storage: 10Gi
volumeMode: Filesystem
accessModes:
- ReadWriteMany
nfs:
server: 192.168.1.250
path: "/data"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: jenkins-nfs
spec:
capacity:
storage: 50Gi
volumeMode: Filesystem
accessModes:
- ReadWriteMany
nfs:
server: 192.168.1.250
path: "/data/jenkins"
\ No newline at end of file
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nginx
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: gw-service
labels:
app: gw-service
spec:
selector:
app: gw-service
ports:
- protocol: TCP
port: 8000
targetPort: 8000
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: gw-service
spec:
selector:
matchLabels:
app: gw-service
template:
metadata:
labels:
app: gw-service
spec:
containers:
- name: gw-service
image: registry.mayi118.com/mayi-service/gateway-service-core:0.0.1-SNAPSHOT.338
env:
- name: BASE_SERVICES
value: base-service.default.svc.cluster.local:8081
- name: USER_SERVICES
value: user-service.default.svc.cluster.local:8082
- name: INFO_SERVICES
value: info-service.default.svc.cluster.local:8084
- name: MESSAGES_SERVICES
value: message-service.default.svc.cluster.local:8083
- name: redis.host
value: "10.102.68.252"
- name: redis.port
value: "6379"
- name: ACTIVEMQ_BROKER
value: "10.100.57.106:61616"
- name: DUBBO_REGISTRY
value: "10.102.61.158:8848"
- name: dubbo.registry.address
value: "10.102.61.158:8848"
- name: MONGODB_HOST
value: "10.100.102.139"
- name: MONGODB_PROT
value: "27017"
ports:
- containerPort: 8000
name: export
\ No newline at end of file
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: shop-front-gateway
spec:
selector:
istio: ingressgateway # use Istio default gateway implementation
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "m-crm-test.kukahome.com"
\ No newline at end of file
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: mayi888
spec:
hosts:
- "m-crm-test.kukahome.comm"
gateways:
- shop-front-gateway
http:
- match:
- uri:
prefix: /api
- destination:
port:
number: 4000
host: shop-front
\ No newline at end of file
apiVersion: apps/v1
kind: Deployment
metadata:
name: shop-front
labels:
app: webapp
spec:
selector:
matchLabels:
app: webapp
replicas: 2
template:
metadata:
labels:
app: webapp
spec:
containers:
- name: shop-front
image: chongmingdu/shopfront:2
ports:
- containerPort: 4000
name: webapp
---
kind: Service
apiVersion: v1
metadata:
name: webapp
spec:
selector:
app: webapp
ports:
- protocol: TCP
port: 4000
targetPort: 4000
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: mayi888-gateway
spec:
selector:
istio: ingressgateway # use Istio default gateway implementation
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- "k8s.mayi888.com"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: mayi888-service
spec:
hosts:
- "k8s.mayi888.com"
gateways:
- mayi888-gateway
http:
- match:
- port: 80
route:
- destination:
port:
number: 80
host: web
- match:
- uri:
exact: /api/baseService
redirect:
uri: /baseService
authority: 10.97.254.202:8081
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: web-service
spec:
hosts:
- "*"
gateways:
- mayi888-service
tcp:
- match:
- port: 80
route:
- destination:
host: web
port:
number: 80
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment