Commit 60330f52 by wangguangchao

Add new file

parent b9b43619
apiVersion: apps/v1
kind: Deployment
metadata:
name: eureka-server
namespace: default
labels:
app: eureka-server
spec:
replicas: 1
selector:
matchLabels:
app: eureka-server
template:
metadata:
labels:
app: eureka-server
version: v1
spec:
containers:
- image: 192.168.0.110:8062/rdwh/eurekaserver:latest
name: eureka-server
---
apiVersion: v1
kind: Service
metadata:
labels:
app: eureka-server
name: svc
spec:
ports:
- port: 8769
protocol: TCP
targetPort: 8769
nodePort: 30092
selector:
app: eureka-server
type: NodePort
\ 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