Installing specific kubernetes version on Centos [closed] - kubernetes

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 months ago.
Improve this question
I'm trying to install certain version of kubernetes, using yum package manager (In give example I'm trying to install 1.21.8, however yum does not find given package version)
yum install kubelet-1.21.8-0 kubeadm-1.21.8-0 kubectl-1.21.8-0
I also tried like this:
yum install kubelet-1.21.8 kubeadm-1.21.8 kubectl-1.21.8
Output:
No package available

If your trying to install a specific version of the package it is enough to define it during the yum install command as below :
yum install -y kubelet-<version> kubectl-<version> kubeadm-<version>
Please check when you are installing kubernetes version 1.21.8-00, kubernetes-cni package should be (>= 0.8.7) version to satisfy dependency requirements.
So, the final command looks like this:
yum install -y kubelet-1.21.8-00 kubectl-1.21.8-00 kubeadm-1.21.8-00 kubernetes-cni-0.8.7
To verify the version the below command
kubelet --version / kubeadm version / kubectl version.
Note : Add kubernetes source in /etc/yum.repos.d/kubernetes.repo file. And also make sure your Kubernetes version is compatible with the Docker containers engine version to avoid compatibility problems.

Related

Filebeat on Azure Kubernetes Service(AKS) with Helm [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last month.
Improve this question
I am pretty new to AKS and helm. I need to install filebeat and metricbeat on AKS cluster using Helm Chart. Request any guidance or pointer to get started.
Once you have kubernetes cluster up & running and set on AKS you can install the helm locally or the bastion you are using.
Get and set context of the kubeconfig file of AKS cluster on local or bastion so you can now access the cluster.
Now, Here is the ready-made helm chart of filebeat
Run the command : helm repo add elastic https://helm.elastic.co
it will add the helm repo automatically and after that run command
helm install my-filebeat elastic/filebeat --version 8.5.1
here we are installing version 8.5.1 you can update other environments and configuration by following the documentation.

How do you specify the version of azure-functions-core-tools?

I have an AzureDevOps pipeline which was running fine a few weeks ago. When I tried to run it again, I got an error which apparently is caused by running the latest azure-functions-core-tools. It was suggested to downgrade it but I couldn't find how to do it on Azure CLI.
I tried adding the version to the code below but it didn't work.
sudo apt-get install azure-functions-core-tools=(version I want to use)
Firstly use apt-cache showpkg <package-name> to list available versions.
Then use sudo aptitude install <azure-functions-core-tools>=<version> to install the version.

Ubuntu 16.04 LTS Running low-graphics mode [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
This happens when I try to install/update the Nvidia driver on my system using cuda_8.0.61.2_linux.
Prompt dialog
This could be caused by conflicting x11 libs. Some of you might also experience similar issue on a different or older version of Ubuntu.
Prompt dialog
Perform Ctrl+Alt+F1 then a console will be displayed.
Enter your credentials...
(1) You need to reset the "lightdm" with the following:
sudo rm /etc/lightdm/lightdm.conf
sudo ucf -p /etc/lightdm/lightdm.conf
sudo apt-get install --reinstall lightdm
(2) Then re-install "recommended driver" nvidia (can be found on your system current nvidia drivers)
sudo ubuntu-drivers devices
You will see something like:
...
...
driver : nvidia-384 - distro non-free recommended
...
You will use the nvidia specified as recommended which is on this example is nvidia-384
Finally, perform:
sudo apt-get install nvidia-384
And reboot the system.

How to get a version of pgAdmin III working correctly with the PostgreSQL 9.4 (Ubuntu 14.10 x64)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have installed postgresql-9.4 and pgAdmin III on Ubuntu 14.10 x64:
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install postgresql-9.4
sudo apt-get pgadmin3
However using pgAdmin with PostgreSQL I faced with the warning
Warning: The server you are connecting to is not a
version that is supported by this release of pgAdmin III.
pgAdmin III may not function as expected.
Supported server versions are 8.4 to 9.3.
1) How to get a version of pgAdmin III do I use?
2) How to uninstall current version of pgAdmin and to install the correct version of pgAdmin?
Thank you.
PostgreSQL maintains a repository of apt packages. You can follow the instructions on their wiki at https://wiki.postgresql.org/wiki/Apt
Basically, they boil down to:
# add the repository
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
# install their key
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
Then
sudo apt-get install pgadmin3
That worked fine for me on Ubuntu 12.04, and I have now pgadmin3 v. 1.20.
It seems to be a known bug: link
The bug thread suggests to try and use pgAdmin 1.20. You can download it here: link

what is the difference between update and upgrade? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
In apt-get command, what is the major effects of update and upgrade?
I didn't see any difference besides the wording.
It seems like update is about system package whereas upgrade is about software package. If that is the case, how to tell which is system package and which is software package?
From man apt
update
update is used to resynchronize the package index files from their
sources. The indexes of available packages are fetched from the
location(s) specified in /etc/apt/sources.list...
...
upgrade
upgrade is used to install the newest versions of all packages
currently installed on the system from the sources enumerated in
/etc/apt/sources.list. Packages currently installed with new
In simple words: apt-get update will update apt's database, the list of available packages (and version's date and number). Where apt-get dist-upgrade will upgrade all packages installed in your system (... if date and/or version differ).
update updates the list of available packages and their versions, but it does not install or upgrade any new packages.
upgrade actually installs newer versions of the packages you have.
The main objectives of update is to provide bug and errors fixes to present existing system....
The main objectives of upgrade is to introducing new features and functionalities to an existing system...
Upgrading involves transforming old system into newer version.....
Difference between update and upgrade is as:
Update make changes to an app or operating system in such a way that it not affects its core structure. Like bug fixes, security patches, adding support for drivers and new hardware, etc can be termed as Update.
While when set of changes made to a software are significant and substantial enough then is called as Upgrade.
Updates are smaller than upgrades. Like update of OS can be of few hundred megabytes, but upgrade of OS can be of several Gigabyte.
Updates take smaller time than Upgrades. It could take several hours to upgrade complete system.
Updates are always free while upgrade can cost you.
An upgrade can result in change in software version while update will not change version of software.