Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to upgrade resource-exporter in FCP #14

Open
sonic-chain opened this issue Feb 1, 2024 · 0 comments
Open

How to upgrade resource-exporter in FCP #14

sonic-chain opened this issue Feb 1, 2024 · 0 comments

Comments

@sonic-chain
Copy link

sonic-chain commented Feb 1, 2024

Update resource-exporter

    1. Stop the computing-provider service.
    1. Delete component resource-exporter
kubectl delete ds -n kube-system resource-exporter-ds
    1. Reinstall resource-exporter by the command:
cat <<EOF | kubectl apply -f -
apiVersion: apps/v1
kind: DaemonSet
metadata:
 namespace: kube-system
 name: resource-exporter-ds
 labels:
   app: resource-exporter
spec:
 selector:
   matchLabels:
     app: resource-exporter
 template:
   metadata:
     labels:
       app: resource-exporter
   spec:
     containers:
     - name: resource-exporter
       image: filswan/resource-exporter:v11.3.0
       imagePullPolicy: IfNotPresent
EOF
    1. Check the resource-exporter version:
kubectl describe po -n kube-system resource-exporter-ds |grep "Image:"

It should be:

Image:          filswan/resource-exporter:v11.3.0

and ensure it is running by kubectl get po -n kube-system
image

    1. Start computing-provider with v0.7.0
@Normalnoise Normalnoise changed the title How to upgrade to version v0.4.2 How to upgrade resource-exporter Feb 1, 2024
@Normalnoise Normalnoise changed the title How to upgrade resource-exporter How to upgrade resource-exporter in FCP Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant