Giter Club home page Giter Club logo

Comments (5)

KaiWalter avatar KaiWalter commented on August 15, 2024 2

... deleting configmap prior to rollout restart helps to fix that.

$ kubectl delete configmaps/receiver-express-dapr-cm
configmap "receiver-express-dapr-cm" deleted
$ kubectl rollout restart daemonset/receiver-express-dapr

from enterprise-wasm.

michelleN avatar michelleN commented on August 15, 2024

@KaiWalter Do you have any logs from the failed container or relevant kubelet logs you can share?

from enterprise-wasm.

KaiWalter avatar KaiWalter commented on August 15, 2024

@michelleN to extract the desired/correct logs, I would need some guidance please. Just looking at the pods events does not give any indication for me:

$ kubectl get events | grep pod/receiver-express
17m         Normal    Scheduled                 pod/receiver-express-678fffdcbf-dv942     Successfully assigned default/receiver-express-678fffdcbf-dv942 to aks-npspin-17509446-vmss000000
17m         Normal    Pulling                   pod/receiver-express-678fffdcbf-dv942     Pulling image "kw61b0eaa4acr.azurecr.io/spin-dapr-rs:1704189431"
17m         Normal    Pulled                    pod/receiver-express-678fffdcbf-dv942     Successfully pulled image "kw61b0eaa4acr.azurecr.io/spin-dapr-rs:1704189431" in 145.209309ms (820.40242ms including waiting)
17m         Normal    Created                   pod/receiver-express-678fffdcbf-dv942     Created container receiver-express
17m         Normal    Started                   pod/receiver-express-678fffdcbf-dv942     Started container receiver-express
17m         Normal    Scheduled                 pod/receiver-express-dapr-kbrq5           Successfully assigned default/receiver-express-dapr-kbrq5 to aks-npspin-17509446-vmss000000
17m         Normal    Pulling                   pod/receiver-express-dapr-kbrq5           Pulling image "kw61b0eaa4acr.azurecr.io/dapr-ambient:latest"
17m         Normal    Pulled                    pod/receiver-express-dapr-kbrq5           Successfully pulled image "kw61b0eaa4acr.azurecr.io/dapr-ambient:latest" in 112.996586ms (480.004713ms including waiting)
17m         Normal    Created                   pod/receiver-express-dapr-kbrq5           Created container ambient-init-container
17m         Normal    Started                   pod/receiver-express-dapr-kbrq5           Started container ambient-init-container
17m         Normal    Pulling                   pod/receiver-express-dapr-kbrq5           Pulling image "docker.io/daprio/daprd:1.11.6"
17m         Normal    Pulled                    pod/receiver-express-dapr-kbrq5           Successfully pulled image "docker.io/daprio/daprd:1.11.6" in 754.283246ms (5.576920112s including waiting)
17m         Normal    Created                   pod/receiver-express-dapr-kbrq5           Created container daprd
17m         Normal    Started                   pod/receiver-express-dapr-kbrq5           Started container daprd
17m         Warning   Unhealthy                 pod/receiver-express-dapr-kbrq5           Readiness probe failed: Get "http://10.244.2.21:3501/v1.0/healthz": dial tcp 10.244.2.21:3501: connect: connection refused
17m         Warning   Unhealthy                 pod/receiver-express-dapr-kbrq5           Liveness probe failed: Get "http://10.244.2.21:3501/v1.0/healthz": dial tcp 10.244.2.21:3501: connect: connection refused
5m26s       Normal    Killing                   pod/receiver-express-dapr-kbrq5           Stopping container daprd
5m20s       Normal    Scheduled                 pod/receiver-express-dapr-xk5n5           Successfully assigned default/receiver-express-dapr-xk5n5 to aks-npspin-17509446-vmss000000
3m45s       Normal    Pulling                   pod/receiver-express-dapr-xk5n5           Pulling image "kw61b0eaa4acr.azurecr.io/dapr-ambient:latest"
5m19s       Normal    Pulled                    pod/receiver-express-dapr-xk5n5           Successfully pulled image "kw61b0eaa4acr.azurecr.io/dapr-ambient:latest" in 418.455777ms (418.467377ms including waiting)
4m38s       Normal    Created                   pod/receiver-express-dapr-xk5n5           Created container ambient-init-container
4m38s       Normal    Started                   pod/receiver-express-dapr-xk5n5           Started container ambient-init-container
5m18s       Normal    Pulled                    pod/receiver-express-dapr-xk5n5           Successfully pulled image "kw61b0eaa4acr.azurecr.io/dapr-ambient:latest" in 105.898188ms (105.910488ms including waiting)
11s         Warning   BackOff                    pod/receiver-express-dapr-xk5n5           Back-off restarting failed container ambient-init-container in pod receiver-express-dapr-xk5n5_default(a242720e-315d-4cc4-bf5f-4287f187cf70)
5m6s        Normal    Pulled                    pod/receiver-express-dapr-xk5n5           Successfully pulled image "kw61b0eaa4acr.azurecr.io/dapr-ambient:latest" in 101.320127ms (101.328527ms including waiting)
4m38s       Normal    Pulled                    pod/receiver-express-dapr-xk5n5           Successfully pulled image "kw61b0eaa4acr.azurecr.io/dapr-ambient:latest" in 89.014392ms (89.019292ms including waiting)
3m45s       Normal    Pulled                    pod/receiver-express-dapr-xk5n5           Successfully pulled image "kw61b0eaa4acr.azurecr.io/dapr-ambient:latest" in 178.399079ms (178.405279ms including waiting)

from enterprise-wasm.

KaiWalter avatar KaiWalter commented on August 15, 2024

OK, looking at container logs of ambient-init-container shows panic: configmap receiver-express-dapr-cm already exists:

screenshot_2024-01-02_11-26-24_669398764

from enterprise-wasm.

KaiWalter avatar KaiWalter commented on August 15, 2024

continue on ... dapr/dapr-shared#36

from enterprise-wasm.

Related Issues (6)

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.