Git Product home page Git Product logo

Comments (3)

lianghuiyuan avatar lianghuiyuan commented on June 3, 2024

vault generate secrets jobs Error

[nix-shell:/home/creasy/githubs/homelab]# kubectl get jobs -n vault
NAME                        COMPLETIONS   DURATION   AGE
generate-secrets-28121390   0/1           4m13s      4m13s

[nix-shell:/home/creasy/githubs/homelab]# kubectl get pods -n vault
NAME                                   READY   STATUS             RESTARTS       AGE
generate-secrets-28121390-k2plx        0/1     Error              0              4m22s
generate-secrets-28121390-lbnbw        0/1     Error              0              3m10s
generate-secrets-28121390-rp9lw        0/1     Error              0              3m50s
generate-secrets-28121390-w28gz        0/1     Error              0              2m9s
vault-0                                1/3     CrashLoopBackOff   27 (83s ago)   115m
vault-configurer-6877954c5-6ltck       1/1     Running            2 (119m ago)   27h
vault-vault-operator-f78fbbfc4-twgtt   1/1     Running            2 (119m ago)   27h

Logs of the job's pods

2023/06/20 15:38:34 Unable to write secret: Put "http://vault:8200/v1/secret/data/gitea/admin": dial tcp 10.43.79.47:8200: connect: connection refused
1
exit status 1

kubectl get svc -n vault

[nix-shell:/home/creasy/githubs/homelab]# kubectl get svc -n vault
NAME                   TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                               AGE
vault                  ClusterIP   10.43.79.47     <none>        8200/TCP,8201/TCP,9091/TCP,9102/TCP   29h
vault-0                ClusterIP   10.43.229.192   <none>        8200/TCP,8201/TCP,9091/TCP            29h
vault-configurer       ClusterIP   10.43.30.161    <none>        9091/TCP                              29h
vault-vault-operator   ClusterIP   10.43.175.66    <none>        80/TCP,8383/TCP                       29h

from homelab.

lianghuiyuan avatar lianghuiyuan commented on June 3, 2024

IP of vault-configurer-6877954c5-rtj8r

[nix-shell:/home/creasy/githubs/homelab]# kubectl exec -i -t vault-configurer-6877954c5-rtj8r -n vault -- sh
/config $ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0@if24: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1450 qdisc noqueue state UP 
    link/ether b2:a4:47:41:f2:a1 brd ff:ff:ff:ff:ff:ff
    inet 10.42.4.97/24 brd 10.42.4.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::b0a4:47ff:fe41:f2a1/64 scope link 
       valid_lft forever preferred_lft forever

ping vault ClusterIP from vault-configurer-6877954c5-6ltck

/config $ ping 10.43.79.47
PING 10.43.79.47 (10.43.79.47): 56 data bytes
^C
--- 10.43.79.47 ping statistics ---
17 packets transmitted, 0 packets received, 100% packet loss
/config $ ping baidu.com
PING baidu.com (110.242.68.66): 56 data bytes
64 bytes from 110.242.68.66: seq=0 ttl=42 time=49.257 ms
64 bytes from 110.242.68.66: seq=1 ttl=42 time=48.821 ms
^C
--- baidu.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 48.821/49.039/49.257 ms

from homelab.

lianghuiyuan avatar lianghuiyuan commented on June 3, 2024

Redeploy fix the problem again! 😂😂

from homelab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.