This guide explains how to install Minikube using the Docker driver and then install Argo CD in the local Kubernetes cluster.
Prerequisites
Before starting, make sure you have the following tools installed:
- Docker Desktop
- Homebrew
| ExplicaciΓ³n rΓ‘pida: | |
| β’ --mirror: descarga todo recursivamente. | |
| β’ --convert-links: ajusta los enlaces para que funcionen localmente. | |
| β’ --page-requisites: baja CSS, JS, imΓ‘genes. | |
| β’ --no-parent: no sube a directorios superiores. | |
| wget \ | |
| --mirror \ | |
| --convert-links \ | |
| --adjust-extension \ |
| #!/bin/bash | |
| # --------------------------------------------------------------------- | |
| # Author: Afu Tse | |
| # GitHub Repo: https://github.com/r3xakead0/gcp-tf-notes-app-serverless | |
| # Description: Cleanup script for Workload Identity Federation (OIDC) | |
| # --------------------------------------------------------------------- | |
| set -e | |
| export PROJECT_ID="bootcamp-478214" |
| # --------------------------------------------------------------------- | |
| # Author: Afu Tse | |
| # GitHub Repo: https://github.com/r3xakead0/gcp-tf-notes-app-serverless | |
| # Description: Workload Identity Federation (OIDC) Setup Script | |
| # --------------------------------------------------------------------- | |
| #!/bin/bash | |
| set -e | |
| export PROJECT_ID="bootcamp-478214" |
| #!/bin/sh | |
| set -e # Stop the script if any command fails | |
| # Get the currently configured GCP Project ID | |
| PROJECT_ID=$(gcloud config get-value project --quiet) | |
| # Validate that a project is set | |
| if [ -z "$PROJECT_ID" ]; then | |
| echo "β ERROR: No project is configured in gcloud." | |
| echo "Run: gcloud config set project <PROJECT_ID>" |
| #!/bin/sh | |
| set -e # Stop the script if any command fails | |
| # Get the currently configured GCP Project ID | |
| PROJECT_ID=$(gcloud config get-value project --quiet) | |
| # Validate that a project is set | |
| if [ -z "$PROJECT_ID" ]; then | |
| echo "β ERROR: No project is configured in gcloud." | |
| echo "Run: gcloud config set project <PROJECT_ID>" |
| #!/bin/sh | |
| kubectl apply -f deployment.yaml | |
| kubectl apply -f service.yaml | |
| kubectl apply -f ingress.yaml | |
| kubectl get deployment | |
| kubectl autoscale deployment helloworld-deployment \ | |
| --cpu-percent=60 \ |
| #!/bin/sh | |
| set -e # Stop the script if any command fails | |
| # Get the currently configured GCP Project ID | |
| PROJECT_ID=$(gcloud config get-value project --quiet) | |
| # Validate that a project is set | |
| if [ -z "$PROJECT_ID" ]; then | |
| echo "β ERROR: No project is configured in gcloud." | |
| echo "Run: gcloud config set project <PROJECT_ID>" |
| #!/bin/sh | |
| # Set default region and zone | |
| gcloud config set compute/region europe-west1 | |
| gcloud config set compute/zone europe-west1-b | |
| # Create a static IP address | |
| gcloud compute addresses create network-lb-ip-1 \ | |
| --region europe-west1 |