Get all pods plain names
kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}'
Get the node port
Assume your deployment is under /netbox
:
Add to configuration/configuration.py
BASE_PATH = environ.get('BASE_PATH', '')
Add to env/netbox.env
All thanks and credits to Ayrat-Kh, see also the original thread:
wget https://github.com/docker/docker-credential-helpers/releases/download/v0.8.2/docker-credential-pass-v0.8.2-amd64
/usr/bin
directory.Uppercase only:
(?-i)[A-Z]+(?![a-z])
To lower case:
\L$0
<!doctype html> | |
<html lang="de"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Important title</title> | |
<meta name="description" content="Some content"> | |
<meta name="author" content="dejafu"> |
// JavaScript functional programming | |
// Monad under 60 seconds | |
const Functor = { | |
of: value => ({ | |
value: value, | |
inspect: () => console.log(`Functor(${value})`), | |
map: fn => Functor.of(fn(value)) | |
}) | |
};s |