mirror of https://github.com/abpframework/eventhub
3 changed files with 21 additions and 21 deletions
@ -1,19 +1,22 @@ |
|||||
apiVersion : apps/v1 |
apiVersion: apps/v1 |
||||
kind: Deployment |
kind: Deployment |
||||
metadata: |
metadata: |
||||
name: voloeventhub |
name: volosoft-eventhub-web-deployment |
||||
spec: |
spec: |
||||
replicas: 1 |
|
||||
selector: |
selector: |
||||
matchLabels: |
matchLabels: |
||||
app: voloeventhub |
app: volosoft-eventhub-web-pod |
||||
template: |
template: |
||||
metadata: |
metadata: |
||||
labels: |
labels: |
||||
app: voloeventhub |
app: volosoft-eventhub-web-pod |
||||
spec: |
spec: |
||||
containers: |
containers: |
||||
- name: voloeventhub |
- name: volosoft-eventhub-web-container |
||||
image: voloeventhub.azurecr.io/voloeventhub |
image: voloeventhub.azurecr.io/voloeventhub:v1 |
||||
ports: |
resources: |
||||
- containerPort: 80 |
limits: |
||||
|
memory: "128Mi" |
||||
|
cpu: "500m" |
||||
|
ports: |
||||
|
- containerPort: 80 |
||||
|
|||||
@ -1,10 +1,11 @@ |
|||||
apiVersion: v1 |
apiVersion: v1 |
||||
kind: Service |
kind: Service |
||||
metadata: |
metadata: |
||||
name: voloeventhub |
name: volosoft-eventhub-web-service |
||||
spec: |
spec: |
||||
type: LoadBalancer |
selector: |
||||
ports: |
app: volosoft-eventhub-web-pod |
||||
- port: 80 |
ports: |
||||
selector: |
- port: 8080 |
||||
app: voloeventhub |
targetPort: 80 |
||||
|
type: ClusterIP |
||||
Loading…
Reference in new issue