Update .gitea/workflows/deploy.yaml
Deploy Dashboard Monitor ke K3s / deploy (push) Failing after 3s
Details
Deploy Dashboard Monitor ke K3s / deploy (push) Failing after 3s
Details
This commit is contained in:
parent
7a135bf3bd
commit
716307d7f5
|
|
@ -0,0 +1,15 @@
|
||||||
|
name: Deploy Dashboard Monitor ke K3s
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Deploy via SSH Lokal
|
||||||
|
run: |
|
||||||
|
# SSH ke localhost dan jalankan perintah kubectl langsung di VPS
|
||||||
|
# Ini mem-bypass masalah Secrets dan Kubeconfig Base64
|
||||||
|
ssh -o StrictHostKeyChecking=no root@localhost "KUBECONFIG=/etc/rancher/k3s/k3s.yaml kubectl apply -f dashdot-deploy.yaml"
|
||||||
|
ssh -o StrictHostKeyChecking=no root@localhost "KUBECONFIG=/etc/rancher/k3s/k3s.yaml rollout status deployment/dashdot"
|
||||||
Loading…
Reference in New Issue