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

feat(operators): bump provider to 0.4.7 #241

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

andy108369
Copy link
Collaborator

@andy108369 andy108369 commented Nov 14, 2023

Have tested on my provider.akash.pro (0.26.2 network ; provider 0.4.7).

  • Verify the current version is 0.4.6:
root@node1:~# kubectl -n akash-services get pods -o custom-columns='NAME:.metadata.name,IMAGE:.spec.containers[*].image'
NAME                                        IMAGE
akash-hostname-operator-776cd65c8c-cnx6h    ghcr.io/akash-network/provider:0.4.6
akash-inventory-operator-79868cfb47-l4w86   ghcr.io/akash-network/provider:0.4.6
akash-node-1-0                              ghcr.io/akash-network/node:0.26.2
akash-provider-0                            ghcr.io/akash-network/provider:0.4.7
  • Bump the image version to 0.4.7:
root@node1:~# helm upgrade akash-hostname-operator akash/akash-hostname-operator -n akash-services --set image.tag=0.4.7
root@node1:~# helm upgrade inventory-operator akash/akash-inventory-operator -n akash-services --set image.tag=0.4.7
  • Verify:
root@node1:~# helm -n akash-services get values akash-hostname-operator
USER-SUPPLIED VALUES:
image:
  tag: 0.4.7

root@node1:~# helm -n akash-services get values inventory-operator
USER-SUPPLIED VALUES:
image:
  tag: 0.4.7

root@node1:~# kubectl -n akash-services get pods -o custom-columns='NAME:.metadata.name,IMAGE:.spec.containers[*].image'
NAME                                        IMAGE
akash-hostname-operator-776cd65c8c-cnx6h    ghcr.io/akash-network/provider:0.4.7
akash-inventory-operator-79868cfb47-l4w86   ghcr.io/akash-network/provider:0.4.7
akash-node-1-0                              ghcr.io/akash-network/node:0.26.2
akash-provider-0                            ghcr.io/akash-network/provider:0.4.7

-- Have then tested the persistent storage deployment.


To upgrade the charts and rollback the image.tag value:

root@node1:~# helm search repo akash
NAME                          	CHART VERSION	APP VERSION	DESCRIPTION                                       
akash/akash-hostname-operator 	6.0.5        	0.4.7      	An operator to map Ingress objects to Akash dep...
akash/akash-inventory-operator	6.0.5        	0.4.7      	An operator required for persistent storage (op...
akash/akash-ip-operator       	6.0.5        	0.4.7      	An operator required for ip marketplace (optional)
akash/akash-node              	6.0.6        	0.26.2     	Installs an Akash RPC node (required)             
akash/provider                	6.0.8        	0.4.7      	Installs an Akash provider (required)       

NOTE: --reset-values removes the previously set image.tag; however it also removes the rest of the values. So make sure to verify if you had any custom values you want to preserve before resetting them.
Example: helm upgrade akash-hostname-operator akash/akash-hostname-operator -n akash-services --reset-values

helm -n akash-services get values akash-hostname-operator
helm -n akash-services get values inventory-operator
helm -n akash-services get values akash-ip-operator

helm upgrade akash-hostname-operator akash/akash-hostname-operator -n akash-services
helm upgrade inventory-operator akash/akash-inventory-operator -n akash-services
helm upgrade akash-ip-operator akash/akash-ip-operator -n akash-services

@andy108369 andy108369 merged commit 3ac41f5 into akash-network:main Nov 14, 2023
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

Successfully merging this pull request may close these issues.

1 participant