https://cloud.google.com/community/tutorials/nginx-ingress-gke
Prerequisites:
- Helm installed (together with kubectl & Google cloud SDK)
1. Create service account:
kubectl create serviceaccount --namespace kube-system tiller
function base64UrlEncode(str: string): string { | |
return btoa(str) | |
.replace(/\+/g, "-") | |
.replace(/\//g, "_") | |
.replace(/=+$/g, ""); | |
} | |
function generateCodeVerifier(len: number): string { | |
const ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; |
JobID Elapsed | |
------------ ---------- | |
696068_1 00:01:26 | |
696068_1.ba+ 00:01:26 | |
696068_1.0 00:00:03 | |
696068_1.1 00:00:00 | |
696068_1.2 00:00:01 | |
696068_1.3 00:00:00 | |
696068_1.4 00:00:00 | |
696068_1.5 00:00:01 |
#!/bin/sh | |
#SBATCH --job-name=wordcount # Job name | |
#SBATCH --nodes=1 # Use one node | |
#SBATCH --ntasks=1 # Run a single task | |
#SBATCH --mem-per-cpu=1gb # Memory per processor | |
#SBATCH --time=00:10:00 # Time limit hrs:min:sec | |
#SBATCH --output=array/array_%A-%a.out # Standard output and error log | |
#SBATCH --array=1-32 # Array range | |
#Set the number of runs that each SLURM task should do |
https://cloud.google.com/community/tutorials/nginx-ingress-gke
Prerequisites:
1. Create service account:
kubectl create serviceaccount --namespace kube-system tiller
docker network create moj-net | |
docker run -d -p 5432:5432 \ | |
-e POSTGRES_USER=uporabnik -e POSTGRES_PASSWORD=geslo \ | |
-e POSTGRES_DB=ime-baze \ | |
--net moj-net \ | |
--name baza-container \ | |
postgres:12 | |
docker run -d -p 8080:8080 \ |