Compare commits
No commits in common. "7a506e07d4ade5793fe339766a265c00be98d1b2" and "c0e64096a85a2f8893e443f629a3a558744b6843" have entirely different histories.
7a506e07d4
...
c0e64096a8
3 changed files with 3 additions and 5 deletions
|
@ -8,7 +8,7 @@ function usage() {
|
|||
|
||||
function main() {
|
||||
local cluster_name="${1}";
|
||||
local domain_name="${2:-meissa.de}";
|
||||
local domain_name="${2:-meissa-gmbh.de}";
|
||||
|
||||
/usr/local/bin/k3s-create-context.sh ${cluster_name} ${domain_name}
|
||||
kubectl config use-context ${cluster_name}
|
||||
|
|
|
@ -4,9 +4,8 @@ set -o noglob
|
|||
|
||||
function main() {
|
||||
local cluster_name="${1}"; shift
|
||||
local domain_name="${1:-meissa.de}"; shift
|
||||
|
||||
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@${cluster_name}.${domain_name} -L 8002:localhost:8002 -L 6443:192.168.5.1:6443
|
||||
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@${cluster_name}.meissa-gmbh.de -L 8002:localhost:8002 -L 6443:192.168.5.1:6443
|
||||
}
|
||||
|
||||
main $1
|
||||
|
|
|
@ -4,9 +4,8 @@ set -o noglob
|
|||
|
||||
function main() {
|
||||
local cluster_name="${1}"; shift
|
||||
local domain_name="${1:-meissa.de}"; shift
|
||||
|
||||
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@${cluster_name}.${domain_name}
|
||||
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@${cluster_name}.meissa-gmbh.de
|
||||
}
|
||||
|
||||
main $1
|
||||
|
|
Loading…
Reference in a new issue