Deprecated: Return type of WP_Theme::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-theme.php on line 554

Deprecated: Return type of WP_Theme::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-theme.php on line 595

Deprecated: Return type of WP_Theme::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-theme.php on line 535

Deprecated: Return type of WP_Theme::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-theme.php on line 544

Deprecated: Return type of WP_REST_Request::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/rest-api/class-wp-rest-request.php on line 960

Deprecated: Return type of WP_REST_Request::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/rest-api/class-wp-rest-request.php on line 980

Deprecated: Return type of WP_REST_Request::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/rest-api/class-wp-rest-request.php on line 992

Deprecated: Return type of WP_REST_Request::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/rest-api/class-wp-rest-request.php on line 1003

Deprecated: Return type of WP_Block_List::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 151

Deprecated: Return type of WP_Block_List::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 175

Deprecated: Return type of WP_Block_List::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 164

Deprecated: Return type of WP_Block_List::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 186

Deprecated: Return type of WP_Block_List::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 138

Deprecated: Return type of WP_Block_List::offsetExists($index) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 75

Deprecated: Return type of WP_Block_List::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 89

Deprecated: Return type of WP_Block_List::offsetSet($index, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 110

Deprecated: Return type of WP_Block_List::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 127

Deprecated: Return type of WP_Block_List::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 199

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /www/johnmark_507/public/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 22

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /www/johnmark_507/public/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 28

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-includes/class-wp.php on line 173

Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-includes/wp-db.php on line 3030
Google Kubernetes Engine (GKE) - Cheat Sheet - John Mark C
Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-includes/formatting.php on line 4975

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/plugins/wordpress-seo/src/generators/schema-generator.php on line 176

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

John Mark Causing

System Administrator | Hosting Support Engineer

johnmarkcausing@gmail.com

Bacolod City, Philippines

+639393497018

John Mark Causing

System Administrator | Hosting Support Engineer

johnmarkcausing@gmail.com

Bacolod City, Philippines

+639393497018

This article is a list of cheat sheets for running GKE in Windows.

Installing and setup the gcloud CLI

Download the Google Cloud CLI installer.

Alternatively, open a PowerShell terminal and run the following PowerShell commands:

(New-Object Net.WebClient).DownloadFile("https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe", "$env:Temp\GoogleCloudSDKInstaller.exe")

& $env:Temp\GoogleCloudSDKInstaller.exe

Then run gcloud init to initialize and connect your GCP account from your terminal

Install the Kubectl

gcloud components install kubectl

Configure and authenticate Kubectl from your GCP Kubernetes cluster

gcloud container clusters create my-first-cluster-1

my-first-cluster- is the name of my GKE cluster.

Reference: https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl

Get the nodes!

kubectl get nodes -o wide

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71