Commit 170eeeda authored by Vũ Hoàng Nam's avatar Vũ Hoàng Nam

Update manifest file.

parent 8e49d2d2
...@@ -9,7 +9,7 @@ Place your Docker network gateway IP in `.env`. And spin up the docker container ...@@ -9,7 +9,7 @@ Place your Docker network gateway IP in `.env`. And spin up the docker container
``` ```
docker network inspect bridge docker network inspect bridge
docker-compose up docker-compose up
``` ```w
### Tear down ### Tear down
......
...@@ -11,3 +11,21 @@ spec: ...@@ -11,3 +11,21 @@ spec:
protocol: TCP protocol: TCP
selector: selector:
zone: dev zone: dev
---
apiVersion: v1
kind: Service
metadata:
name: minio
namespace: default
spec:
type: NodePort
ports:
- port: 9090
nodePort: 30001
targetPort: 9090
selector:
app.kubernetes.io/name: minio
app.kubernetes.io/instance: gix
\ No newline at end of file
...@@ -7,23 +7,23 @@ metadata: ...@@ -7,23 +7,23 @@ metadata:
zone: dev zone: dev
spec: spec:
containers: containers:
- name: sh - name: sh
image: busybox:1.36 image: busybox:1.36
command: command:
- sleep - sleep
- "3600" - "3600"
volumeMounts: volumeMounts:
- name: nfs-pvc - name: nfs-pvc
mountPath: /usr/share mountPath: /usr/share
ports: ports:
- containerPort: 8080 - containerPort: 8080
resources: resources:
requests: requests:
memory: "512Mi" memory: "512Mi"
cpu: "1000m" cpu: "1000m"
limits: limits:
memory: "1024Mi" memory: "1024Mi"
cpu: "2000m" cpu: "2000m"
volumes: volumes:
- name: nfs-pvc - name: nfs-pvc
persistentVolumeClaim: persistentVolumeClaim:
......
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