Let's look at some basic kubectl output options.
Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).
We can start with:
kubectl get no
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
labels: | |
component: resolv | |
tier: node | |
name: resolv | |
namespace: default | |
spec: | |
selector: |
[alias] | |
k = !gitk --all & | |
dismiss = reset HEAD --hard | |
rollback = reset --soft HEAD~1 | |
unstage = reset HEAD -- | |
undo = checkout -- | |
redo = commit --amend --no-edit | |
sane = remote prune origin | |
send = push origin $(git rev-parse --abbrev-ref HEAD) | |
l = log --graph --pretty=format:'%C(yellow)%h%Creset %Cgreen%cr %C(bold blue)%an%Creset - %s%C(red)%d%Creset' --abbrev-commit --max-count=30 |
#!/bin/bash -e | |
curl -O http://ftp.heanet.ie/pub/centos/7.0.1406/isos/x86_64/CentOS-7.0-1406-x86_64-Minimal.iso | |
export VM="MASTER" | |
export VMDISK="$VM-disk" | |
export REDHAT_IMAGE="/Users/user/Downloads/CentOS-7.0-1406-x86_64-Minimal.iso" | |
VBoxManage hostonlyif create | |
VBoxManage hostonlyif ipconfig vboxnet0 --ip 192.168.20.1 |