How Do You Find the Ingress IP address for an AKS Cluster?

Problem scenario
You are running Kubernetes in Azure. You need to find the Ingress pod’s IP address. What should you do?

Solution
1. Go to portal.azure.com
2. Go to Kubernetes Service
3. Go to the AKS cluster (e.g., foobar)
4. Go to Services and Ingresses
5. Find the ingress service with the name you are looking for (e.g., foobar_cluster)
6.

How Do You Troubleshoot “This does not look like a tar archive” when Trying to Download a .tar.gz File with Linux?

One of the below problem scenarios is happening.

Possible problem scenario #1
You try to download a file with curl or wget. Instead of downloading the file, you get a file with this as the content:

gzip: /home/ubuntu/foobar.tar.gz: not in gzip format
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

You use a web browser,

What Is High-Cardinality in Monitoring?

Question
High-cardinality in SQL refers to highly differentiated data for a given column. (Although “relatively unique” is not grammatical, that is one way to say it.) When there are many different possible values for a given column, that is high-cardinality. In the context of monitoring, what is high-cardinality?

Answer
In monitoring like relational databases, cardinality refers to the number of elements in a set (consistent with the mathematical definition https://www.dictionary.com/browse/cardinality).

What is a Mutating Webhook?

Question
In the context of Kubernetes, what is a mutating webhook?

Answer
They are an API invocation that make changes to resources (and in some cases before they are created per medium.com).

“MutatingAdmissionWebhook is one of easiest ways of extending Kubernetes with new policy controls and resources mutation and a host of other options.” (Taken from medium.com )

“Mutating controllers may modify related objects to the requests they admit;

How Do You Select a Subportion of an Image Using LibreOiffice Draw?

Problem scenario
You want to copy a subarea of a copied screenshot (just like Paint in Windows). How do you copy a rectangle cropped selection of a pasted screen shot using LibreOffice Draw?

Solution
1. Open LibreOffice Draw and paste the image in.
2. Click on the square icon in the upper right. It is an image of a square with sides extended on the left upper and right lower corners like this:

Click that beige/orange square with an empty middle.

How Do You Solve “Error Problem with installed package …docker-ce conflicts with podman-docker”?

Problem scenario
You try to install docker-ce on a CentOS/Stream/RHEL/Fedora server, but you get an error like this:

Error:
Problem: problem with installed package podman-docker-1:3.4.1-3.module_el8.6.0+954+963caf36.noarch

package docker-ce conflicts with podmoan-docker

What should you do?

Solution
This will remove some packages. Do not do this if you have customized the packages involved.

Run these commands:

sudo yum remove buildah skopeo podman containers-common atomic-registries docker container-tools

sudo dnf -y install docker-ce …

Is It Legal to Ask about Salary/Compensation History?

Problem scenario
You are not sure if an employer can ask your salary history. The job application asks you to enter your salary history. Is it legal in the USA to ask a candidate about their previous salary history?

Answer
Maybe. For some states, the law only applies to the state government. It depends on the state, the city or possibly the type of employer.

Is It a Best/Recommended Practice to Use Wrist Rests?

Problem scenario
You have red about gel wrist pads for keyboard and mouse utilization. You think you should invest in ergonomic equipment. Should you get a wrist rest for your computer usage?

Solution
It is not clear.

For the “Yes”:
Many companies that sell them recommend them, and some people prefer the gel support.
This site says to use them.

How Do You Get Nodes in Kubernetes to Be Ready with a Network Plugin Error?

Problem scenario
Your pods are not ready in Kubernetes. “kubectl describe pods” results may have errors like this:

Warning FailedCreatePodSandBox 4m57s (x2035 over 69m) kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container “abcd1234” network for pod “apache-tomcat-deployment”: networkPlugin cni failed to set up pod “apache-tomcat-deployment” network: open /run/flannel/subnet.env: no such file or directory

(The symptoms of this problem will involve pods and nodes not being ready.