Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dod-docs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dod2019
dod-docs
Commits
a1627dde
Commit
a1627dde
authored
Jun 26, 2019
by
Wim Bonthuis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 201.md
parent
4fe5de7c
Pipeline
#2017
passed with stages
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
14 deletions
+24
-14
content/basics/201.md
content/basics/201.md
+24
-14
No files found.
content/basics/201.md
View file @
a1627dde
...
...
@@ -2,40 +2,50 @@
title
:
"
201"
---
```
kubectl run -it --rm --restart=Never nslookup --image=busybox:1.28 nslookup kubernetes
```
```
kubectl run -it --rm --restart=Never wget --image alpine -- wget -qO- --timeout=2 http://echoserver:8080
nodeport vs clusterip (in minikube)
❯ kubectl expose pod echoserver --type NodePort
```
```
kubectl expose pod echoserver --type NodePort
service/echoserver exposed
~/projects/private/demos/devopsdays/2019/minik8s/static dod2019
*
❯ kubectl get svc
kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
echoserver NodePort 10.98.106.115 <none> 8080:32386/TCP 3s
kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 64m
```
```
kubectl edit svc echoserver
```
minikube service echoserver --url w/ clusterip
```
minikube config set
```
kubectl run example
```
ping 127.0.0.1.nip.io
```
demo nip/xip
```
minikube start -p profile
```
minikube profiles
minilube tunnel (?)
```
minikube logs
```
minikube -ho
```
eval $(minikube docker-env)
```
```
minikube ssh whoami
```
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment