When we get Invalid numeric literal error when on colon following a single-quoted string
echo "{'foo':'bar'}" | jq
jq: parse error: Invalid numeric literal at line 1, column 7
| port: 443 | |
| certFile: /etc/detour/server.crt | |
| keyFile: /etc/detour/server.key | |
| mappings: | |
| - domain: domain.com | |
| targetURL: https://www.google.com | |
| - domain: sales.domain.com | |
| targetURL: http://anish.pulsiot.com | |
| - domain: rest.domain.com |
Exposing Podman containers fully on the network
By: Christophe Vanlancker May 8, 2020
If you're used to the Docker world of running containers, you'll know that by default containers use a bridge, living in a separate network on a host, and using NAT to allow them to communicate to the outside world.
When you hear the word "NAT", you should immediately know that only communications initialized from the containers are allowed to receive connections back.
| ################################################################################### | |
| # | |
| # Free SSL Certificate CSR Generator | |
| # | |
| # OpenSSL configuration file for creating a CSR | |
| # Modify only the FQDN and ORGNAME lines, if required and then run: | |
| # | |
| # openssl req -new -config ssl-config.cnf -keyout myserver.key -out myserver.csr | |
| # | |
| # from the CPanel SSH terminal from "/home/$USER/anish/ssl" directory |
Original Source : https://www.qloudx.com/nginx-ingress-controller-for-amazon-eks-frequently-used-annotations/
Here is how to create a cloud-init disk image and OS disk image suitable for configuring into a libvirt domain file.
In my case I am naming my domain (a.k.a. virtual machine or VM) xenial with a static IP address of 192.168.0.101.
The filenames "network-config" and "user-data" files are arbitrary, so they can be named with a prefix for the domain, etc.
First, get the cloud image and convert into QCOW2 format:
qemu-img convert -O qcow2 xenial-server-cloudimg-amd64-disk1.img xenial-server-cloudimg-amd64-disk1.qcow2
| debuggerboy@cassandra:~$ sudo kind create cluster --name ko2 --config /home/debuggerboy/labs/kubernetes/anish-kind/anish-multi-node.yaml | |
| enabling experimental podman provider | |
| Creating cluster "ko2" ... | |
| ✓ Ensuring node image (kindest/node:v1.23.4) 🖼 | |
| ✓ Preparing nodes 📦 📦 📦 | |
| ✓ Writing configuration 📜 | |
| ✓ Starting control-plane 🕹️ | |
| ✓ Installing CNI 🔌 | |
| ✓ Installing StorageClass 💾 | |
| ✗ Joining worker nodes 🚜 |