This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# values_minikube.yaml | |
# Tested with stable/prometheus-operator v4.3.6 | |
# https://medium.com/@eduardobaitello/trying-prometheus-operator-with-helm-minikube-b617a2dccfa3 | |
coreDns: | |
service: | |
selector: | |
k8s-app: kube-dns | |
kubeControllerManager: | |
service: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://medium.com/@eduardobaitello/using-different-kubectl-versions-with-multiple-kubernetes-clusters-a3ad8707b87b | |
# Pssssst..Ubuntu here... | |
# Configuring kube_ps1 on PS1 | |
if [ "$color_prompt" = yes ]; then | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$(kube_ps1)\$ ' | |
else | |
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(kube_ps1)\$ ' | |
fi | |
unset color_prompt force_color_prompt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://istio.io/docs/tasks/traffic-management/egress/#configuring-istio-external-services | |
# In this example the bucket is in the us-east-1 region | |
# Make sure to match the host with the endpoint of your region: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: ServiceEntry | |
metadata: | |
name: egress-amazon-s3 | |
spec: | |
hosts: | |
- my-bucket-name.s3.amazonaws.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# FILE STRUCTURE USED FOR TESTS | |
Note: php-site is a clone from https://github.com/phalcon/php-sites | |
eduardo@Notebook:test_ansible_copy$ tree | |
. | |
├── hosts.ini | |
└── playbooks | |
├── playbook.yml | |
└── roles | |
└── recursive-copy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### SOME VALUES ARE OBFUSCATED FOR SECURITY REASONS | |
PS /home/user> Add-AzureRmVhd -ResourceGroupName "myresourcegroup" -Destination "https://mystorageaccount.blob.core.windows.net/mycontainer/my_vhd_filename.vhd" -LocalFilePath "/home/user/files/my_disk_file_to_upload.vhd" | |
DEBUG: 7:53:47 PM - AddAzureVhdCommand begin processing with ParameterSet '__AllParameterSets'. | |
DEBUG: 7:53:47 PM - using account id 'eduardobaitello@gmail.com'... | |
The specified drive root "net:[4026532417]" either does not exist, or it is not a folder. | |
Found existing page blob. Resuming upload... | |
MD5 hash is being calculated for the file /home/user/files/my_disk_file_to_upload.vhd. |