Skip to content

Instantly share code, notes, and snippets.

View cloudyuga's full-sized avatar

CloudYuga Technologies cloudyuga

  • www.cloudyuga.guru
  • Bangalore, India
View GitHub Profile
@cloudyuga
cloudyuga / india_covid-19_3rd_June.csv
Created June 5, 2020 05:35
India Covid-19 Data till 3rd June
Id Province_State Country_Region Date ConfirmedCases Fatalities
15961 India 2020-01-22 0 0
15962 India 2020-01-23 0 0
15963 India 2020-01-24 0 0
15964 India 2020-01-25 0 0
15965 India 2020-01-26 0 0
15966 India 2020-01-27 0 0
15967 India 2020-01-28 0 0
15968 India 2020-01-29 0 0
15969 India 2020-01-30 1 0
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mongodb-pv-claim
labels:
app: mongodb
spec:
storageClassName: rook-block
accessModes:
- ReadWriteOnce
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-aws
spec:
capacity:
storage: 12Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Recycle
apiVersion: v1
kind: Pod
metadata:
name: test-pd
spec:
containers:
- image: gcr.io/google_containers/test-webserver
name: test-container
volumeMounts:
- mountPath: /test-pd
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mongodb-pv-claim
labels:
app: mongodb
spec:
accessModes:
- ReadWriteOnce
resources:
# Disucss following with participants
https://cloudyuga.gitbooks.io/container-orchestration/content/orchestration.html
# Show the sample app
https://github.com/cloudyuga/rsvpapp/blob/master/rsvp.py
# Create an overlay network
$ docker network create --driver overlay rsvpnet
# Create MongoDB service