SERVICE_DEPLOYMENT_FAILED
The service deployment has failed. This event is sent for services with deployment circuit breaker logic turned on.
find . -name foo.yml -exec bash -c "grep -q office {} && echo {} && grep office {}" \;
terraform workspace select old-name
terraform state pull >old-name.tfstate
terraform workspace new new-name
terraform state push old-name.tfstate
terraform show just to confirm that the newly-imported state looks "right", before we delete the old workspace
terraform workspace delete -force old-name
Pour prendre des décisions importantes
Server Side apply VS Client Side apply
via Edwin
Un Operator qui :
- crée des CRDs pour chaque resource AWS existante (s3, ec2, rds.....)
- crée les controler associés
Du coup on peut créer des resources AWS avec kube (on peut se passer de terraform, on peut utiliser une CI/CD adaptée à déployer dans Kube)
virtualenv venv
. venv/bin/activate
pip install --editable .
python_venv() {
MYVENV=./venv
# when you cd into a folder that contains $MYVENV
[[ -d $MYVENV ]] && source $MYVENV/bin/activate > /dev/null 2>&1
# when you cd into a folder that doesn't
[[ ! -d $MYVENV ]] && deactivate > /dev/null 2>&1
}
autoload -U add-zsh-hook
add-zsh-hook chpwd python_venv
Navigate through your search history (/) or command history (:) without leaving your home row?
q:
q/
Think "query search" and "query command"
asdf is a tool version manager. All tool version definitions are contained within one file (.tool-versions) which you can check in to your project's Git repository to share with your team, ensuring everyone is using the exact same versions of tools.
brew install pinentry-mac
If not existing already create the file ~/.gnupg/gpg-agent.conf and add the following line:
pinentry-program /usr/local/bin/pinentry-mac
gpgconf --kill gpg-agent
"Create Amazon MemoryDB Cluster Instances#
You can create Amazon MemoryDB Clusters using the Cluster custom resource"
They really name their CRD "Cluster" ?? :facepalm: