The best way to safely and securely use local domains pointing to 127.0.0.1 is to edit your local settings (/etc/hosts) and add your own settings. Keep in mind if you want to use subdomains, you need to enter all variations.
Example:
# Adding bottom of your current file /etc/hosts
################# MY LOCAL DOMAINS
127.0.0.1 local.com admin.local.com
127.0.0.1 domain1.com
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: test | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: test | |
template: |
So you have fantastic ArgoCD or mind-boggling ArgoWorkflows (this guide covers both), and if you want to secure the Authentication with AWS Cognito, let's dive right in.
I found many different sources unveiling some pieces of the required configuration but no resources where one can see the whole picture. I hope this guide will be one of such places. This guide will mean no DEX usage, just rely on Argo's built-in OpenID Connect flow.
Setting GA feature gate CSIServiceAccountToken=true. It will be removed in a future release. | | |
Setting GA feature gate TTLAfterFinished=true. It will be removed in a future release. Flag --enable-logs-handler has been deprecated, This flag will be removed in v1.19 Flag --service-account-api-audiences has been deprecated, Use --api-audiences Flag --logtostderr has been deprecated, will be removed in a future release, see https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components |
curl -LO https://go.dev/dl/go1.17.6.linux-amd64.tar.gz | |
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.17.6.linux-amd64.tar.gz | |
echo 'export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin' >> $HOME/.profile | |
echo 'export GOPATH=$HOME/go' >> $HOME/.profile | |
source $HOME/.profile | |
go version | |
minikube ssh <-- git bash window
sudo su - <-- within the minikube environment
cat << EOF > /etc/systemd/resolved.conf
> [Resolve]
> DNS=1.1.1.1
#!/usr/bin/env bash | |
set -eo pipefail | |
set -u | |
## INSTALL OPERATOR (is install in default namespace, to use another namespace need to modify the yaml) | |
n=0 | |
until [ $n -ge 3 ]; do | |
kubectl apply -f https://storage.googleapis.com/knative-nightly/operator/latest/operator.yaml > /dev/null && break | |
echo "Kourier failed to install on first try" |
Refs: https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/
You are tasked to deploy an application to http://hello-world.info
the software is package at gcr.io/google-samples/hello-app:1.0
the app team said the software listens on port 8080
. web app responds to prefix path http://hello-world.info/*
Deploy only using the 3 commands, complete the commands.
kubectl create deployment --port **** ...
kubectl expose ...
#!/usr/bin/env sh | |
rm -rf docs | |
git clone https://github.com/knative/docs.git | |
pushd docs > /dev/null | |
git log --branches --pretty=format:"%ad,%an" --date=short > ../docs.raw.txt | |
popd > /dev/null | |
cat docs.raw.txt | awk -F',' '$0 >= "2022-03-14"' > 3months.raw.txt | |
cat 3months.raw.txt | cut -f2 -d, | sort | uniq -c | sort -k1 -n -r |