I hereby claim:
- I am charltonstanley on github.
- I am cstanley (https://keybase.io/cstanley) on keybase.
- I have a public key ASAXhvuUSLTK33XMMH0CVfJfGToiUXeIpzKak6Td5T0fSwo
To claim this, I am signing this object:
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:5d006bf9837902dfdf276a9ba968ddedf7cf0a95] |
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:5d006bf9837902dfdf276a9ba968ddedf7cf0a95] |
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:5d006bf9837902dfdf276a9ba968ddedf7cf0a95] |
I hereby claim:
To claim this, I am signing this object:
This is an addendum to the A Cloud Guru "Kubernetes the Hard Way" course lesson titled "Setting up the Kubernetes Scheduler". This addendum covers some modifications that need to be made to some of commands that need to be executed when setting up the k8s scheduler using a more recent version than specified in the course.
Course: Kubernetes the Hard Way
Lesson: 7.6
Lesson Title: Setting Up the Kubernetes Scheduler
Binary Version: I was using version 1.23.1
of the kube-apiserver
, kube-controller-manager
, kube-scheduler
, and kubectl
binaries.
If anyone is interested in setting up their system to automatically (or manually) sign their git commits with their GPG key, here are the steps:
$ git config --global commit.gpgsign true
([OPTIONAL] every commit will now be signed)$ git config --global user.signingkey ABCDEF01
(where ABCDEF01
is the fingerprint of the key to use)$ git config --global alias.logs "log --show-signature"
(now available as $ git logs
)$ git config --global alias.cis "commit -S"
(optional if global signing is false)$ git config --global tag.forcesignannotated "true"
([OPTIONAL] every annotated tag (git tag -a
) will now be signed.)$ git config --global tag.gpgSign "true"
([OPTIONAL] every tag will be signed.)$ echo "Some content" >> example.txt
Now that Terraform 12 has been released and iterated on a few times, the highly anticipated for_each
argument has officially been integrated directly inside the resource
and data
blocks. Allowing for the creation of dynamic blocks.
This for_each
resource loop accepts any map
or set
to produce its dynamic set of resources.
e.g.
# Define Helper Functions | |
function Get-Sha256Hash ($StringToHash) { | |
$hasher = [System.Security.Cryptography.SHA256]::Create() | |
$Hash = ([BitConverter]::ToString($hasher.ComputeHash([Text.Encoding]::UTF8.GetBytes($StringToHash))) -replace '-','').ToLower() | |
Write-Output $Hash | |
} | |
function ConvertTo-SortedDictionary($HashTable) { | |
$SortedDictionary = New-Object 'System.Collections.Generic.SortedDictionary[string, string]' | |
foreach ($Key in $HashTable.Keys) { |