question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: Upgrading chart does not redeploy logging containers

See original GitHub issue

Hi,

I am trying to upgrade the splunk connector release using the following helm command:

helm upgrade --tiller-namespace splunk-connect-k8s splunk-connect-k8s -f values.yaml custom-splunk-connect-for-kubernetes.tgz

Everytime I redeploy it creates new containers for the metrics and meta aspects of the release but it never redeploys the kubernetes logging and I need this to redeploy as well.

splunk-eks (develop) $ k get pods
NAME                                                              READY   STATUS    RESTARTS   AGE
splunk-connect-k8s-splunk-kubernetes-logging-ltrt7                1/1     Running   0          98m
splunk-connect-k8s-splunk-kubernetes-logging-p7snv                1/1     Running   0          102m
splunk-connect-k8s-splunk-kubernetes-logging-zddff                1/1     Running   0          102m
splunk-connect-k8s-splunk-kubernetes-metrics-49nlm                1/1     Running   0          42s
splunk-connect-k8s-splunk-kubernetes-metrics-agg-cc79cfcdbt62rg   1/1     Running   0          63s
splunk-connect-k8s-splunk-kubernetes-metrics-g8wqp                1/1     Running   0          50s
splunk-connect-k8s-splunk-kubernetes-metrics-kwdlr                1/1     Running   0          28s
splunk-connect-k8s-splunk-kubernetes-objects-84b4c9596c-drrjn     1/1     Running   0          63s
tiller-deploy-66fb8fc48c-x2wcn                                    1/1     Running   0          102m

Is there a reason why the logging pods do not redeploy and what do I need to do to get them to redeploy?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
matthewmodestinocommented, Oct 25, 2019

Why would you change the release name? Helm tracks in revisions of the release.

Please take a look at how fluentd does checkpointing:

https://docs.fluentd.org/input/tail

1reaction
rockb1017commented, Oct 24, 2019

the logging pod keeps the record of positions where it has send to splunk, so once it gets restarted, it will pick up from where it left off.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updating Logging | Logging | OpenShift Container Platform 4.8
To upgrade from cluster logging in OpenShift Container Platform version 4.6 and earlier to OpenShift Logging 5. x, you update the OpenShift Container...
Read more >
helm upgrade is not recreating pod · Issue #3030 - GitHub
This problem is chart-specific. Apparently another way of forcing pod redeployments is by using annotations kubernetes/kubernetes#13488, but ...
Read more >
How to renew and redeploy internal logging certificates in ...
Issue. fluentd is not sending any container logs to ElasticSearch ;; Internal logging certificates expired.
Read more >
How to upgrade docker container after its image changed
Some official application images (mysql:5.6 in particular) are not even designed to self-update (apt-get upgrade won't work). I'd like to thank everybody who ......
Read more >
Troubleshooting the GitLab chart
An error like this could occur when you run helm upgrade and there are some spaces in the parameters. In the following example,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found