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
<feature name="hbase" version="0.98.0-hadoop2" resolver="(obr)" start-level="50"> | |
<bundle dependency="true">mvn:com.google.guava/guava/12.0.1</bundle> | |
<bundle dependency="true">mvn:com.google.protobuf/protobuf-java/2.5.0</bundle> | |
<bundle dependency="true">mvn:org.mortbay.jetty/jetty-util/6.1.26</bundle> | |
<bundle dependency="true">mvn:org.mortbay.jetty/jetty/6.1.26</bundle> | |
<bundle dependency="true">mvn:org.eclipse.birt.runtime.3_7_1/org.apache.xml.resolver/1.2.0</bundle> | |
<bundle dependency="true">mvn:commons-net/commons-net/3.1</bundle> | |
<bundle dependency="true">mvn:org.codehaus.jettison/jettison/1.1</bundle> | |
<bundle dependency="true">mvn:org.codehaus.jackson/jackson-jaxrs/1.8.11</bundle>> | |
<bundle dependency="true">mvn:org.apache.commons/commons-jexl/2.1.1</bundle> |
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
# Start a busybox container that just waits | |
$ docker run -d --name=justwait busybox sleep 3600 | |
# Start another container and connect is to the network on the first container | |
$ docker run -d --name=sharednettwo --net=container:justwait busybox sleep 3600 | |
# Test that containers use the same IP address as the first container | |
# i.e. use the same networking namespace to both containers |
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
$ minikube start \ | |
--network-plugin=cni \ | |
--container-runtime=rkt |
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
$ TOKEN=$(kubectl describe secret $(kubectl get secrets | grep default | cut -f1 -d ' ') | grep -E '^token' | cut -f2 -d':' | tr -d '\t') |
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
$ APISERVER=$(kubectl config view | grep https | cut -f 2- -d ":" | tr -d " ") |
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
# list minikube addons | |
$ minikube addons list | |
- registry-creds: disabled | |
- dashboard: enabled | |
- storage-provisioner: enabled | |
- coredns: disabled | |
- heapster: enabled | |
- efk: disabled | |
- ingress: disabled | |
- registry: disabled |
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
$ source <(kubectl completion bash) |
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
# check default bash version installed | |
$ echo $BASH_VERSION | |
3.2.57(1)-release | |
# install a new version of bash since autocompletion is supported from version 4.1.x | |
$ brew install bash | |
# make sure the new bash verison is added on /etc/shells | |
echo '/usr/local/bin/bash' | sudo tee -a /etc/shells |
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
$ source <(kops completion bash) |
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
# deploy external load-balancer example | |
$ kubectl create -f https://github.com/SenthuranSivananthan/azure/blob/master/ACS/kubernetes/internal-load-balancer.yaml | |
# verify external IP | |
$ kubectl get svc -o wide | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR | |
frontend-lb LoadBalancer 10.0.52.162 51.140.81.20 80:30107/TCP 8m app=nginx_backend | |
kubernetes ClusterIP 10.0.0.1 <none> 443/TCP 11m <none> | |
(51.140.81.20 is a public IP ! ) |
OlderNewer