Thursday, August 11, 2022

Installing Helm by a specific version

 While creating a duplicate deployment system for testing purposes we may require to install a very old version of helm

I have done this by using the below steps.

# curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3

# chmod +x get_helm.sh

# ./get_helm.sh -v v3.1.2

# helm version

version.BuildInfo{Version:"v3.1.2", GitCommit:"d878d4d45863e42fd5cff6743294a11d28a9abce", GitTreeState:"clean", GoVersion:"go1.13.8"}





Saturday, May 14, 2022

Vagrant issue with Ubuntu16.04

While executing the command "vagrant up" you will see the following error message.


 Box 'generic/ubuntu2004' could not be found. Attempting to find and install...

   servername: Box Provider: virtualbox

   servername: Box Version: 3.3.0

The box 'generic/ubuntu2004' could not be found or

could not be accessed in the remote catalog. If this is a private

box on HashiCorp's Atlas, please verify you're logged in via

`vagrant login`. Also, please double-check the name. The expanded

URL and error message are shown below:


URL: ["https://atlas.hashicorp.com/generic/ubuntu2004"]

Error: The requested URL returned error: 404 Not Found

So the issue is with your vagrant version (1.8.7), so here we would require the last Vagrant version 2


On your Ubuntu 16.04LTS vagrant binay download will show the following error.



ajeesh@Aspire-A515-51G:~/Downloads/vagr$ ./vagrant --help

/tmp/.mount_vagranhKrhmD/usr/bin/ruby2.6: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/.mount_vagranhKrhmD/usr/lib/x86_64-linux-gnu/libruby-2.6.so.2.6)

/tmp/.mount_vagranhKrhmD/usr/bin/ruby2.6: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/.mount_vagranhKrhmD/usr/lib/x86_64-linux-gnu/libruby-2.6.so.2.6)


Fix:
# apt-get remove vagrant

# apt-get install vagrant

root@Aspire-A515-51G:~# vagrant --version
Vagrant 2.2.19