mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 12:03:59 +00:00
Merge branch 'main' of github.com:dredx/prole
This commit is contained in:
commit
e6c0cfd1f8
@ -46,10 +46,9 @@ helm upgrade --install kubernetes-dashboard kubernetes-dashboard/kubernetes-dash
|
||||
kubectl apply -f cloudnative-pg-prole-dB.yaml
|
||||
|
||||
kubectl port-forward svc/prometheus-community-kube-prometheus 9090 &
|
||||
kubectl port-forward svc/prometheus-community-grafana 3000:80 &
|
||||
kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443 &
|
||||
kubectl port-forward svc/prole-db-rw 5432:5432 --address 0.0.0.0 &
|
||||
kubectl port-forward svc/prole-mssql-db 1433:1433 --address 0.0.0.0 &
|
||||
kubectl port-forward svc/prometheus-community-grafana 3000:80 --address 0.0.0.0 &
|
||||
```
|
||||
# kubectl cnpg status prole-db
|
||||
# kubectl cnpg plsql prole-db
|
||||
|
||||
11
k3s/get_k3d_prole_data_cluster_node_token.sh
Executable file
11
k3s/get_k3d_prole_data_cluster_node_token.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
export PROLE_HOME=$HOME/dev/prole
|
||||
PROLE_PASSWD=`cat $PROLE_HOME/prole-db/.prole_user_password | base64 -d`
|
||||
HOST_IP=`ifconfig en0 | grep 'inet ' | awk '{print $2}'`
|
||||
|
||||
NODE_TOKEN=$( docker exec k3d-prole-service-cluster-server-0 cat /var/lib/rancher/k3s/server/node-token )
|
||||
|
||||
echo $NODE_TOKEN
|
||||
Loading…
Reference in New Issue
Block a user