126 lines
3.9 KiB
Markdown
126 lines
3.9 KiB
Markdown
curl -sfL https://get.k3s.io | sh -s - --docker --disable=traefik
|
|
|
|
helm upgrade --install ingress-nginx ingress-nginx --repo https://kubernetes.github.io/ingress-nginx --namespace ingress-nginx --create-namespace
|
|
|
|
helm upgrade -i mysql bitnami/mysql -f .\mysql\values.yaml
|
|
helm uninstall mysql
|
|
helm upgrade -i mysql oci://registry-1.docker.io/bitnamicharts/mysql >>2.txt
|
|
helm template mysql oci://registry-1.docker.io/bitnamicharts/mysql >>2.txt
|
|
helm template mysql bitnami/mysql -f .\mysql\values.yaml >> 1.txt
|
|
|
|
helm upgrade mysql oci://registry-1.docker.io/bitnamicharts/mysql -f .\mysql\values.yaml
|
|
|
|
|
|
helm repo add bitnami https://charts.bitnami.com/bitnami
|
|
helm repo add grafana https://grafana.github.io/helm-charts
|
|
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
|
|
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
|
|
|
|
helm repo list
|
|
helm repo update
|
|
|
|
helm search repo mysql
|
|
helm search repo bitnami
|
|
|
|
|
|
|
|
helm install mysql oci://registry-1.docker.io/bitnamicharts/mysql
|
|
|
|
sudo kubectl run curlpod --image=curlimages/curl -i --tty -- sh
|
|
sudo kubectl delete pod curlpod
|
|
|
|
|
|
sudo kubectl create namespace monitoring
|
|
helm install grafana grafana/grafana --namespace monitoring
|
|
helm uninstall grafana --namespace monitoring
|
|
helm get notes my-grafana -n monitoring
|
|
|
|
|
|
helm install ingress-nginx ingress-nginx/ingress-nginx --namespace ingress-nginx --create-namespace --values helm/ingress-nginx/values.yaml
|
|
helm install alloy grafana/alloy
|
|
|
|
helm show values ingress-nginx/ingress-nginx >> helm/ingress-nginx/demo.yaml
|
|
|
|
|
|
|
|
http://loki-gateway.loki.svc.cluster.local/
|
|
http://mimir-nginx.mimir-distributed.svc/prometheus
|
|
http://tempo-query-frontend.tempo.svc.cluster.local:3100
|
|
|
|
|
|
kubectl create namespace tempo
|
|
helm upgrade -i tempo grafana/tempo-distributed --values helm/tempo/values.yaml --namespace tempo
|
|
|
|
kubectl create namespace loki
|
|
helm upgrade -i loki grafana/loki --values helm/loki/values.yaml --namespace loki
|
|
|
|
kubectl create namespace mimir
|
|
helm upgrade -i mimir grafana/mimir-distributed --values helm/mimir/values.yaml --namespace mimir
|
|
|
|
helm upgrade -i grafana grafana/grafana --values helm/grafana/values.yaml
|
|
|
|
helm upgrade -i opentelemetry-collector open-telemetry/opentelemetry-collector --values helm/opentelemetry-collector/values.yaml
|
|
|
|
|
|
|
|
netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=8871 connectaddress=172.19.52.249 connectport=30871
|
|
netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=51750 connectaddress=172.19.52.249 connectport=30750
|
|
netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=3306 connectaddress=172.19.52.249 connectport=30306
|
|
|
|
wsl -e sh -c "cd /mnt/c/inetpub/scriptsez/secure/MiddlewareTCPserver/TcpServer && docker build -t local/tcp-server:0.0.2 ."
|
|
wsl -e sh -c "cd /mnt/c/projects/ezTaxReturnWCF && docker build -t local/wcf-service:0.0.7 ."
|
|
|
|
|
|
|
|
https://askubuntu.com/questions/574569/apt-get-stuck-at-0-connecting-to-us-archive-ubuntu-com
|
|
|
|
sudo nano /etc/gai.conf
|
|
precedence ::ffff:0:0/96 100
|
|
|
|
|
|
|
|
|
|
How to disable IPv6 permanently?
|
|
|
|
sudo nano /etc/sysctl.conf
|
|
|
|
net.ipv6.conf.all.disable_ipv6 = 1
|
|
net.ipv6.conf.default.disable_ipv6 = 1
|
|
net.ipv6.conf.lo.disable_ipv6 = 1
|
|
|
|
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
|
|
|
|
sudo sysctl -p
|
|
|
|
|
|
|
|
Make /etc/resolv.conf changes permanent in WSL 2
|
|
|
|
sudo rm /etc/resolv.conf
|
|
sudo bash -c 'echo "nameserver 8.8.8.8" > /etc/resolv.conf'
|
|
sudo bash -c 'echo "[network]" > /etc/wsl.conf'
|
|
sudo bash -c 'echo "generateResolvConf = false" >> /etc/wsl.conf'
|
|
sudo chattr +i /etc/resolv.conf
|
|
|
|
|
|
|
|
sudo nano /etc/apt/sources.list.d/ubuntu.sources
|
|
|
|
sudo nano /etc/apt/sources.list.d/ubuntu.sources
|
|
use - https://ubuntu.ip-connect.vn.ua/
|
|
from - https://launchpad.net/ubuntu/+mirror/ubuntu.ip-connect.vn.ua-archive
|
|
|
|
|
|
|
|
nameserver 127.0.0.53
|
|
options edns0 trust-ad
|
|
search .
|
|
|
|
|
|
sudo rm /etc/resolv.conf
|
|
options rotate
|
|
options timeout:1
|
|
nameserver 10.255.255.0
|
|
nameserver 8.8.8.8
|
|
nameserver 8.8.4.4
|
|
search . |