Usage: Here is a simple script to achieve this: Here are the steps to make your create-db.sh script globally accessible: Optional: Rename the Script for Easier Access: If you want, you can rename the script to just create-db for ease of use: Views: 83
Octoprint via Helm and Kubernetes
This repository contains Helm chart configurations for deploying OctoPrint project. The setup.sh script allows you to easily configure and deploy the chart. Direct Repo address for those with Kubernetes and Helm knowledge: https://github.com/kzorluoglu/octoprint-helm Prerequisites – Helm v3.x– Kubernetes cluster– Bash shell Usage Clone the Repository Run the Setup Script First, make the script executable: Then, run the script: The script will prompt you for the following information: These values will be used to populate the config.yaml file, which will be used for the Helm installation. Helm Install The script will automatically run helm install with the provided project name and config.yaml file. […]
Get shell access to nodes in Kubernetes via kubectl
First, let’s learn the names of the nodes we have i only have one node at the moment 🙂 then i just need to give this commanf for shell login, i already have given ubuntu as image here, you can give any another image you want. Views: 35
kubectl autocompletion on windows & git bash
Write bash completion code to a file and source it from .bash_profile load the kubectl completion for bash in to current shell Views: 309
How to develop PHP applications on Local Kubernetes with Helm
Dont Worry! It is Very Easy.. 🙂 Install the Helm CLI and k3s(/or minikube) as kubernetes before the begin. now let’s fill in the files. Chart.yaml project/index.php templates/deployment.yaml templates/ingress.yaml template/pv.yaml template/pvc.yaml template/service.yaml values.yaml and let’s install with helm Add hostname (simple-php.local) a.k.a domain in your /etc/hosts with any text editor. My /etc/hosts looking so; And check the domain in your browser with slash ( http://simple-php.local/ ) Enjoy! Views: 103