helm ls
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
<release_name> default 1 2024-02-02 14:33:47.33815851 +0000 UTC deployed core-instance-2.4.0 v2.4.0
The terminal will prompt users to edit values with vim. Browse to spec.template.spec.containers using the editor navigate to both TOKEN fields and change value: field with the new token.
For detailed instructions on how to validate changes, look at the Validation for Helm and Calyptia CLI at the bottom of this document. Validation for Helm and Calyptia CLI:
After successful replacement of TOKEN in the deployment. Something resembling this output should be available:
The change between statuses for pipeline pods should be visible from terminating -> pending -> running
Alternatively:
kubectl get po -l "app.kubernetes.io/component=calyptia-core"
NAME READY STATUS RESTARTS AGE
health-check-f0dc-mt4s-566695479-9985l 1/1 Running 0 5s
pptt-tux0-76c8cb7999-5kdtw 1/1 Running 0 4s
health-check-8f70-dxk4-78fc785d55-jd7lz 1/1 Running 0 4s
All pod AGE values should be within the time frame from the applied change to the moment of querying.
Granular example:
kubectl get pipeline
NAME STATUS
health-check-f0dc-mt4s STARTED
pptt-tux0 STARTED
health-check-8f70-dxk4 STARTED
Using one of the pipeline names fetch configMap
kubectl get cm pptt-tux0 -o yaml ## replace pptt-tux0 with the name of actual pipeline
apiVersion: v1
data:
fluent-bit.yaml: |
service:
plugins_file: /opt/calyptia-fluent-bit/etc/enterprise_plugins.conf
Parsers_File: /config/parsers.conf
customs:
- name: calyptia
calyptia_tls.verify: "off"
calyptia_tls: "on"
api_key: <new_token>
All examples may vary in some minute details where the exact position of a property in outputs might slightly differ.
Calyptia Legacy Core
Having an existing legacy core instance installed through Helm: