-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the first lesson from the Kubernetes webinar series
- Loading branch information
ernesen
committed
Dec 10, 2017
1 parent
5cf26c3
commit 441a860
Showing
11 changed files
with
411 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Deploy Nginx container | ||
kubectl run my-web --image=nginx --port=80 | ||
|
||
# Expose Nginx container | ||
kubectl expose deployment my-web --target-port=80 --type=NodePort | ||
|
||
# Get the node IP for minikube | ||
minikube ip | ||
|
||
# Check the NodePort | ||
kubectl describe svc my-web | ||
|
||
# Access Ngnix | ||
PORT=$(kubectl get svc my-web -o go-template='{{(index .spec.ports 0).nodePort}}') |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# kubernetes | ||
Learning Kubernetes from Kubernetes Webinar Series - hosted by Janakiram & Associates | ||
|
||
List of lessons: | ||
[01 - Kubernetes Webinar Series - Getting Started with Kubernetes](./01-lesson/getting_started.md) |