Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade rc to deploy #2

Open
wants to merge 2 commits into
base: issue-44
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions staging/volumes/nfs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ nfs-busybox-w3s4t
```


On Minikube, you may also:

```console
kubectl expose service nfs-web --name web --port 80 --external-ip=$(minikube ip)
```


<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# This mounts the nfs volume claim into /mnt and continuously
# overwrites /mnt/index.html with the time and hostname of the pod.

apiVersion: v1
kind: ReplicationController
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nfs-busybox
spec:
replicas: 2
selector:
name: nfs-busybox
matchLabels:
name: nfs-busybox
template:
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
apiVersion: v1
kind: ReplicationController
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nfs-server
spec:
replicas: 1
selector:
role: nfs-server
matchLabels:
role: nfs-server
template:
metadata:
labels:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# This pod mounts the nfs volume claim into /usr/share/nginx/html and
# serves a simple web page.

apiVersion: v1
kind: ReplicationController
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nfs-web
spec:
replicas: 2
selector:
role: web-frontend
matchLabels:
role: web-frontend
template:
metadata:
labels:
Expand Down