You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: ruoyi-java
|
|
|
|
spec:
|
|
|
|
replicas: REPLICAS
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: ruoyi-java
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: ruoyi-java
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: ruoyi-java
|
|
|
|
image: HARBOR_HOST/NAMESPACE_NAME/REPOSITORY_NAME:TAG
|
|
|
|
imagePullPolicy: Always
|
|
|
|
ports:
|
|
|
|
- containerPort: 8080
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: ruoyi-java-service
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
app: ruoyi-java
|
|
|
|
ports:
|
|
|
|
- port: 8080
|
|
|
|
targetPort: 8080
|