This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
# This name uniquely identifies the PVC. This is used in deployment. | |
name: minio-pv-claim | |
spec: | |
# Read more about access modes here: http://kubernetes.io/docs/user-guide/persistent-volumes/#access-modes | |
accessModes: | |
# The volume is mounted as read-write by a single node | |
- ReadWriteOnce |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
# This name uniquely identifies the service | |
name: minio-service | |
spec: | |
type: LoadBalancer | |
ports: | |
- port: 9000 | |
targetPort: 9000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
run: nginx | |
name: nginx-deploy | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
run: nginx | |
name: nginx-deploy | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: PersistentVolumeClaim | |
apiVersion: v1 | |
metadata: | |
name: local-hostpath-pvc | |
spec: | |
storageClassName: openebs-hostpath | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Hellowhale-Deployment.yml | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: hello-whale | |
spec: | |
replicas: 5 | |
selector: | |
matchLabels: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: hello-whale-svc | |
labels: | |
app: hello-whale-app | |
spec: | |
selector: | |
app: hello-whale-app | |
type: NodePort |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Hellowhale-Deployment.yml | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: hello-whale | |
spec: | |
replicas: 5 | |
strategy: | |
type: RollingUpdate | |
rollingUpdate: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: hello-blue-whale | |
spec: | |
replicas: 5 | |
selector: | |
matchLabels: | |
app: hello-whale-app | |
version: blue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: hello-whale-svc | |
labels: | |
app: hello-whale-app | |
spec: | |
selector: | |
app: hello-whale-app | |
version: blue |