function docker_container_ip() {
container_ids=$(docker ps -aq)
for cid in ${container_ids}
do
info=$(docker inspect -f 'name={{.Name}} ip={{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${cid})
echo -e "$cid \t $info"
done
}
This file contains hidden or 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
jenv global 1.7.0.80 |
1.使用 openssl 建立 SSL key, 整個 script 如下
#!/bin/bash
#Step 1
keytool -keystore kafka.server.keystore.jks -alias localhost -validity 365 -genkey
#Step 2
openssl req -new -x509 -keyout ca-key -out ca-cert -days 365
keytool -keystore kafka.server.truststore.jks -alias CARoot -import -file ca-cert
Intellij on jetbrains - Ultimate feature
How to setup, to see how-can-pyspark-be-called-in-debug-mode - stackoverflow
- spark 2.4.7 or 3.0.1
- minikube 1.15.3 or 1.19
- kubectl 1.19
Checking the compatibility matrix of Kubernetes Client: https://github.com/fabric8io/kubernetes-client/blob/master/README.md#compatibility-matrix