[Refer To] https://kubernetes.io/zh-cn/docs/reference/kubectl/cheatsheet/ You can switch current namespace with: Check if it works: Also, you can unset current namespace with:
Gradio Gradio is the fastest way to demo your machine learning model with a friendly web interface so that anyone can use it, anywhere! Let’s write a simple gradio app This will use webcam as input and output live stream in the output window. Build with docker Let’s start with writing a Dockerfile: NOTE: requirements.txt…
Modify Nginx Ingress Config First, check out you nginx-ingress-controller’s name with: You should see somthing like this. Now, use kubectl -n <nginx-ingress-namespace> edit ds <nginx-ingress-name> -o yaml to modify the listening port. For example, according to above outputs, the command should be kubectl -n ingress edit ds nginx-ingress-microk8s-controller -o yaml:
Install MicroK8s: You can simply follow the instruction on ubuntu initial setup as follow If you already setup your system, you can install it in snap store or with: NOTE: You may need to configure your firewall to allow pod-to-pod and pod-to-internet communication. Join the group: MicroK8s creates a group to enable seamless usage of…
What is LVM? LVM(Logical Volume Manager) is a system of managing logical volumes, it provides an additional layer of abstraction to the traditional disk partitioning system, enabling advanced storage management and efficient allocation of disk space. [Refer To] https://kb.vmware.com/s/article/1006371 This article provides steps for extending the root partition residing in a logical volume created with Logical…
If you don’t have access to port 80 or 443 on your server, which means you can’t do TLS challenge. This article may help. Install acme.sh or: or: root is recommended. Get a Certificate If you don’t have access to port 80, but not port 443. You can issue a TLS-ALPN-01 challenge: If you don’t…
[Refer To] https://ubuntu.com/tutorials/install-and-configure-wordpress#1-overview This tutorial assume you own domain name is example.com, and want to access WordPress via port other then 80/443. Install Dependencies Install WordPress Configure Apache for WordPress Create Apache site for WordPress. Create /etc/apache2/sites-available/wordpress.conf with following lines: NOTE: You probably need DNS-01 challenge to request a certificate from Let’s Encrypt. Enable the site with:…