content large_stringlengths 3 20.5k | url large_stringlengths 54 193 | branch large_stringclasses 4
values | source large_stringclasses 42
values | embeddings listlengths 384 384 | score float64 -0.21 0.65 |
|---|---|---|---|---|---|
## Step-01: Introduction - Install gcloud CLI on WindowsOS - Configure kubeconfig for kubectl on your local terminal - Verify if you are able to reach GKE Cluster using kubectl from your local terminal - Fix kubectl version to match with GKE Cluster Server Version. ## Step-02: Install gcloud cli on WindowsOS - [Install... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//04-gcloud-cli-install-windowsos/README.md | main | google-kubernetes-engine | [
-0.00984464306384325,
-0.00015324793639592826,
0.04400673508644104,
-0.0845932587981224,
0.003165663918480277,
-0.0009747737785801291,
-0.009051439352333546,
-0.05012543871998787,
0.034729793667793274,
0.03867089003324509,
0.016876108944416046,
-0.11769162118434906,
-0.007481172680854797,
... | 0.018536 |
## Step-00: Introduction - We can rollback a deployment in two ways. - Previous Version - Specific Version ## Step-01: Rollback a Deployment to previous version ### Check the Rollout History of a Deployment ```t # List Deployment Rollout History kubectl rollout history deployment/ kubectl rollout history deployment/my-... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//10-kubectl-imperative-k8s-deployment-ROLLBACK/README.md | main | google-kubernetes-engine | [
-0.030233370140194893,
0.0351860336959362,
0.04843445494771004,
-0.02685750462114811,
0.023564131930470467,
-0.0015985870268195868,
-0.015388053841888905,
-0.03893515095114708,
0.05776852369308472,
0.03358748182654381,
0.041287291795015335,
0.0005845745326951146,
0.010307302698493004,
-0.0... | 0.07186 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//64-Kubernetes-Namespaces/README.md | main | google-kubernetes-engine | [
0.024768659844994545,
-0.03353855013847351,
0.006071306765079498,
-0.04396573081612587,
-0.04724670574069023,
-0.023993413895368576,
-0.023358089849352837,
-0.05987983196973801,
0.011477344669401646,
0.033100027590990067,
-0.032241158187389374,
-0.19747324287891388,
0.024523505941033363,
-... | 0.080196 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//36-GKE-Ingress-Custom-Health-Check/README.md | main | google-kubernetes-engine | [
0.023691080510616302,
0.015355079434812069,
0.0049530076794326305,
-0.0448763482272625,
0.007431401405483484,
-0.07055377960205078,
-0.02638535387814045,
-0.01785886660218239,
0.013590932823717594,
0.06604096293449402,
-0.04921935871243477,
-0.12855592370033264,
0.019745247438549995,
-0.03... | 0.132843 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//24-GKE-PD-preexisting-PD/README.md | main | google-kubernetes-engine | [
-0.02926565334200859,
0.008450713939964771,
0.0145470155403018,
-0.038037676364183426,
-0.021118473261594772,
-0.0027865730226039886,
-0.010102962143719196,
-0.044197265058755875,
0.006295455619692802,
0.009771192446351051,
-0.005804909858852625,
-0.13238213956356049,
0.04634568467736244,
... | 0.044286 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//30-GCP-CloudSQL-Private-NO-ExternalNameService/README.md | main | google-kubernetes-engine | [
0.01984454318881035,
-0.04287044331431389,
0.008258494548499584,
-0.06475651264190674,
-0.06092822179198265,
-0.009978875517845154,
0.014705714769661427,
-0.0522630475461483,
0.04212246462702751,
0.05135026201605797,
0.006281276233494282,
-0.12393183261156082,
0.05053381249308586,
-0.08900... | 0.032703 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//34-GKE-Ingress-Basics/README.md | main | google-kubernetes-engine | [
-0.010336341336369514,
0.015153228305280209,
0.045951180160045624,
-0.030310221016407013,
-0.017386389896273613,
-0.032345134764909744,
-0.017692288383841515,
-0.032343488186597824,
0.0016402261098846793,
0.06550811231136322,
-0.026040859520435333,
-0.1409277766942978,
0.0427793525159359,
... | 0.117953 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//23-GKE-PD-Custom-StorageClass/README.md | main | google-kubernetes-engine | [
0.010007579810917377,
0.035781122744083405,
0.0010996612254530191,
-0.042827848345041275,
-0.04320317506790161,
-0.01333885733038187,
-0.03379443287849426,
-0.025496533140540123,
0.009052545763552189,
0.006491889711469412,
-0.00905787292867899,
-0.13436543941497803,
0.048768024891614914,
-... | 0.03055 |
the two users which are present before VolumeExpansion as-is. ``` ## Step-11: Verify Persistent Disks - Go to Compute Engine -> Storage -> Disks - Search for `8GB` Persistent Disk, as 4GB disk expaned to 8GB now. - \*\*Observation:\*\* You should see the disk type as \*\*Balanced persistent disk\*\* ## Step-12: Verify ... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//23-GKE-PD-Custom-StorageClass/README.md | main | google-kubernetes-engine | [
-0.036456380039453506,
0.02211860753595829,
0.02134815789759159,
-0.0041319625452160835,
0.00701120076701045,
-0.02174527756869793,
0.018092747777700424,
-0.02944321744143963,
0.0812065452337265,
0.01600932702422142,
0.038082245737314224,
-0.059644173830747604,
0.006531361490488052,
-0.027... | 0.053311 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//58-GKE-Continuous-Delivery-with-CloudBuild/README.md | main | google-kubernetes-engine | [
0.011165216565132141,
-0.014089218340814114,
0.06920665502548218,
-0.07682184129953384,
-0.02613450214266777,
-0.039847232401371,
-0.0232316292822361,
-0.07088431715965271,
-0.005736342165619135,
0.05459243431687355,
-0.006445522885769606,
-0.15191900730133057,
0.02739589661359787,
-0.0687... | 0.0007 |
to the Cloud Build service account - Grant the Cloud Source Repository Writer IAM role to the Cloud Build service account for the \*\*myapp1-k8s-repo\*\* repository. ```t # Get current project PROJECT\_ID PROJECT\_ID="$(gcloud config get-value project)" echo ${PROJECT\_ID} # GET GCP PROJECT NUMBER PROJECT\_NUMBER="$(gc... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//58-GKE-Continuous-Delivery-with-CloudBuild/README.md | main | google-kubernetes-engine | [
-0.018620284274220467,
-0.027013476938009262,
0.030231760814785957,
-0.028511332347989082,
-0.012316255830228329,
0.007733855862170458,
0.07478410005569458,
-0.017806561663746834,
0.05059750750660896,
0.10248133540153503,
0.009081004187464714,
-0.09800175577402115,
0.08149776607751846,
-0.... | -0.029633 |
myapps-repository -> myapp1 - Shoud see a new docker image ## Step-11: Access Application ```t # List Pods kubect get pods # List Deployments kubectl get deploy # List Services kubectl get svc # Access Application http:// Observation: 1. Should see v4 version of application deployed ``` ## Step-12: Test CI CD one more ... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//58-GKE-Continuous-Delivery-with-CloudBuild/README.md | main | google-kubernetes-engine | [
0.017490677535533905,
-0.036577627062797546,
0.06177535653114319,
-0.04142263904213905,
0.022344617173075676,
-0.082404226064682,
-0.03606747090816498,
-0.009799537248909473,
0.11047358065843582,
0.10869111865758896,
0.024398956447839737,
-0.06210886314511299,
-0.03624134883284569,
-0.0819... | 0.081067 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//39-GKE-Ingress-Google-Managed-SSL/README.md | main | google-kubernetes-engine | [
-0.03650061413645744,
-0.01133432611823082,
0.05090368911623955,
-0.04140746593475342,
-0.05894772708415985,
-0.04666903242468834,
-0.016125697642564774,
-0.06432690471410751,
0.017138183116912842,
-0.016001977026462555,
-0.007575594820082188,
-0.10830525308847427,
0.06367918103933334,
-0.... | 0.014167 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//61-Kubernetes-Readiness-Probe/README.md | main | google-kubernetes-engine | [
0.07874614745378494,
-0.000686579558532685,
0.044708095490932465,
-0.022824393585324287,
0.03858092054724693,
-0.029780393466353416,
-0.02744276635348797,
-0.06663435697555542,
0.0284720528870821,
0.06986696273088455,
-0.044535961002111435,
-0.10129178315401077,
-0.011489767581224442,
-0.0... | 0.14111 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//27-GKE-PD-Volume-Clone/README.md | main | google-kubernetes-engine | [
-0.04317307099699974,
-0.007866918109357357,
0.026748081669211388,
-0.06870557367801666,
-0.021599747240543365,
-0.01896570436656475,
-0.012854661792516708,
-0.05572491139173508,
-0.003404664807021618,
0.0071249185130000114,
0.017177008092403412,
-0.14080823957920074,
0.03292708098888397,
... | 0.042284 |
get pv # List ConfigMaps kubectl get configmap # List Deployments kubectl get deploy # List Pods kubectl get pods # List Services kubectl get svc # Verify Pod Logs kubectl get pods kubectl logs -f kubectl logs -f usermgmt-webapp2-6ff7d7d849-7lrg5 ``` ## Step-10: Verify Persistent Disks - Go to Compute Engine -> Storage... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//27-GKE-PD-Volume-Clone/README.md | main | google-kubernetes-engine | [
-0.019619273021817207,
-0.005159242078661919,
-0.03072398155927658,
-0.002291778801009059,
0.02156931720674038,
-0.05105363577604294,
0.022943265736103058,
-0.005677531473338604,
0.032626472413539886,
0.04384320229291916,
0.0415806919336319,
-0.11196669191122055,
-0.00990541372448206,
-0.0... | 0.132589 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//65-Kubernetes-Namespaces-ResourceQuota/README.md | main | google-kubernetes-engine | [
0.008530967868864536,
0.005654564592987299,
0.018541667610406876,
-0.0467398427426815,
-0.03779902309179306,
-0.0004896033206023276,
-0.036809999495744705,
-0.03926911950111389,
0.05038581043481827,
0.04693993926048279,
-0.0006836206885054708,
-0.15651768445968628,
0.017581092193722725,
-0... | 0.077944 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//59-Kubernetes-liveness-probe/README.md | main | google-kubernetes-engine | [
0.02112572453916073,
0.0004922677762806416,
0.038010310381650925,
0.007550559006631374,
0.07492884993553162,
-0.07526464015245438,
0.0035050578881055117,
-0.0835321918129921,
-0.032448165118694305,
0.05613265186548233,
0.01375773549079895,
-0.11657378077507019,
0.03382476791739464,
-0.0655... | 0.103426 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//48-GKE-Ingress-SelfSigned-SSL/README.md | main | google-kubernetes-engine | [
-0.02903759852051735,
0.0003574669826775789,
0.010867109522223473,
-0.05886118859052658,
-0.06287804245948792,
-0.03084273263812065,
-0.03468601033091545,
-0.004993324168026447,
0.043166227638721466,
0.05063736438751221,
0.006639448460191488,
-0.14229582250118256,
0.018139483407139778,
-0.... | 0.120864 |
# List Services kubectl get svc # List Ingress Services kubectl get ingress # Describe Ingress Service kubectl describe ingress ingress-selfsigned-ssl # Verify external-dns Controller logs kubectl -n external-dns-ns logs -f $(kubectl -n external-dns-ns get po | egrep -o 'external-dns[A-Za-z0-9-]+') [or] kubectl -n exte... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//48-GKE-Ingress-SelfSigned-SSL/README.md | main | google-kubernetes-engine | [
-0.04283600300550461,
-0.0018681703368201852,
0.012189618311822414,
-0.017036957666277885,
-0.029760485514998436,
-0.04442090913653374,
-0.015742316842079163,
-0.0471678301692009,
0.10350354015827179,
0.041807569563388824,
-0.022114673629403114,
-0.09261488169431686,
-0.03310466557741165,
... | 0.140228 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//42-GKE-ExternalDNS-Install/README.md | main | google-kubernetes-engine | [
-0.015378512442111969,
-0.027737196534872055,
0.03441578149795532,
-0.07832883298397064,
-0.06004179269075394,
0.012635373510420322,
-0.008413937874138355,
-0.026026029139757156,
0.04244869574904442,
0.07269863039255142,
-0.010768928565084934,
-0.15352173149585724,
0.020249469205737114,
-0... | 0.055234 |
Step-10: Review external-dns Deployment Configs ```yaml apiVersion: v1 kind: ServiceAccount metadata: name: external-dns --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: external-dns rules: - apiGroups: [""] resources: ["services","endpoints","pods"] verbs: ["get","watch","list"] - apiGrou... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//42-GKE-ExternalDNS-Install/README.md | main | google-kubernetes-engine | [
-0.03552316501736641,
-0.07841221988201141,
-0.0008298572502098978,
-0.01446488592773676,
0.0002621748426463455,
-0.013119877316057682,
-0.01446464378386736,
-0.04388144239783287,
0.022296324372291565,
0.05726856738328934,
-0.03872237354516983,
-0.036334328353405,
-0.009189268574118614,
0.... | 0.137616 |
InfobloxView: InfobloxMaxResults:0 InfobloxFQDNRegEx: InfobloxCreatePTR:false InfobloxCacheDuration:0 DynCustomerName: DynUsername: DynPassword: DynMinTTLSeconds:0 OCIConfigFile:/etc/kubernetes/oci.yaml InMemoryZones:[] OVHEndpoint:ovh-eu OVHApiRateLimit:20 PDNSServer:http://localhost:8081 PDNSAPIKey: PDNSTLSEnabled:fa... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//42-GKE-ExternalDNS-Install/README.md | main | google-kubernetes-engine | [
-0.003444550558924675,
-0.00006790750194340944,
0.04325462505221367,
-0.06929173320531845,
-0.02117106132209301,
-0.0832841694355011,
-0.013354132883250713,
-0.08094222098588943,
0.13426253199577332,
0.02675515040755272,
0.009805487468838692,
-0.03694842755794525,
-0.04450180009007454,
-0.... | 0.057034 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//60-Kubernetes-Startup-Probe/README.md | main | google-kubernetes-engine | [
-0.002075553173199296,
0.0037002908065915108,
0.025660954415798187,
-0.01609334535896778,
0.04200440272688866,
-0.04690559580922127,
-0.04462938383221626,
-0.0594402514398098,
0.0189018864184618,
0.03278227150440216,
-0.008757573552429676,
-0.09929535537958145,
0.0069610197097063065,
-0.06... | 0.079435 |
## Step-01: Introduction - Create GKE Private Cluster - Create Cloud NAT - Deploy Sample App and Test - Perform Authorized Network Tests ## Step-02: Create Standard GKE Cluster - Go to Kubernetes Engine -> Clusters -> CREATE - Select \*\*GKE Standard -> CONFIGURE\*\* - \*\*Cluster Basics\*\* - \*\*Name:\*\* standard-cl... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//20-GKE-Private-Cluster/README.md | main | google-kubernetes-engine | [
0.06818781793117523,
-0.005079720169305801,
0.012813336215913296,
-0.028819793835282326,
-0.003703175811097026,
-0.013780350796878338,
-0.059242136776447296,
-0.07581564784049988,
-0.01573130115866661,
0.03559335321187973,
-0.03233633190393448,
-0.10926367342472076,
-0.016932586207985878,
... | 0.121951 |
\*\*Network:\*\* default (POPULATED by default) - \*\*Region:\*\* us-central1 (POPULATED by default) - \*\*BGP Peer keepalive interval:\*\* 20 seconds (LEAVE TO DEFAULT) - Click on \*\*CREATE\*\* - \*\*Cloud NAT Mapping:\*\* LEAVE TO DEFAULTS - \*\*Destination (external):\*\* LEAVE TO DEFAULTS - \*\*Stackdriver logging... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//20-GKE-Private-Cluster/README.md | main | google-kubernetes-engine | [
0.04751359298825264,
-0.05780651792883873,
-0.004068778362125158,
-0.036085519939661026,
-0.061604470014572144,
0.0019133772002533078,
-0.10709034651517868,
-0.04956832900643349,
-0.020038869231939316,
0.03889652341604233,
-0.015167975798249245,
-0.06704331189393997,
-0.03460320085287094,
... | 0.07876 |
## Step-01: Introduction to Services - We are going to look in to below two services in detail with a frotnend and backend example - LoadBalancer Service - ClusterIP Service ## Step-02: Create Backend Deployment & Cluster IP Service - Write the Deployment template for backend REST application. - Write the Cluster IP se... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//17-yaml-declarative-k8s-services/README.md | main | google-kubernetes-engine | [
-0.11593934893608093,
-0.010016990825533867,
0.06206720322370529,
-0.06993915140628815,
-0.09371934831142426,
-0.009494342841207981,
-0.03107142634689808,
-0.04808145761489868,
0.018882276490330696,
0.03541553393006325,
-0.04721994698047638,
-0.027492765337228775,
0.018455514684319496,
-0.... | 0.043424 |
## Step-01: Create ReplicaSet Definition - \*\*01-replicaset-definition.yml\*\* ```yaml apiVersion: apps/v1 kind: ReplicaSet metadata: name: myapp2-rs spec: replicas: 3 # 3 Pods should exist at all times. selector: # Pods label should be defined in ReplicaSet label selector matchLabels: app: myapp2 template: metadata: ... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//15-yaml-declarative-k8s-replicasets/README.md | main | google-kubernetes-engine | [
0.007992883212864399,
-0.022065266966819763,
-0.0014068110613152385,
-0.023716218769550323,
0.0005726396339014173,
0.0002493030042387545,
-0.00026486438582651317,
0.01597091741859913,
0.049058038741350174,
-0.008055943064391613,
0.05422234535217285,
-0.11119433492422104,
-0.01612501405179500... | 0.114689 |
## Step-01: Copy templates from ReplicaSet - Copy templates from ReplicaSet and change the `kind: Deployment` - Update Container Image version to `3.0.0` - Change all names to Deployment - Change all labels and selectors to `myapp3` ```t # Change Directory cd kube-manifests # Create Deployment kubectl apply -f 01-deplo... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//16-yaml-declarative-k8s-deployments/README.md | main | google-kubernetes-engine | [
-0.011470832861959934,
0.008687203750014305,
0.014877591282129288,
-0.07079574465751648,
0.007767248433083296,
-0.02042282000184059,
-0.04442256689071655,
-0.029372842982411385,
0.007649736944586039,
0.025791369378566742,
0.014526501297950745,
-0.09702248871326447,
-0.02167859859764576,
-0... | 0.104262 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --zone --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credential... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//28-GKE-Storage-with-GCP-CloudSQL-Public/README.md | main | google-kubernetes-engine | [
0.05086955800652504,
-0.05259433388710022,
0.025157444179058075,
-0.051217611879110336,
-0.08157259970903397,
-0.02964106947183609,
-0.0018738609505817294,
-0.03000258281826973,
-0.012663365341722965,
0.06601619720458984,
-0.016776055097579956,
-0.12152296304702759,
0.08171676099300385,
-0... | -0.002312 |
SQL) from GKE Cluster using kubectl ```t ## Verify from Kubernetes Cluster, we are able to connect to MySQL DB # Template kubectl run -it --rm --image=mysql:8.0 --restart=Never mysql-client -- mysql -h -u -p # MySQL Client 8.0: Replace External Name Service, Username and Password kubectl run -it --rm --image=mysql:8.0 ... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//28-GKE-Storage-with-GCP-CloudSQL-Public/README.md | main | google-kubernetes-engine | [
0.02932724356651306,
-0.03262995928525925,
-0.027065128087997437,
-0.05903874710202217,
-0.06607504934072495,
-0.051925767213106155,
0.04933064058423042,
0.05408443138003349,
0.0425490066409111,
0.06852742284536362,
0.02809823863208294,
-0.11448492854833603,
0.13326793909072876,
-0.0448425... | 0.02788 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//35-GKE-Ingress-Context-Path-Routing/README.md | main | google-kubernetes-engine | [
-0.02032565139234066,
-0.008196627721190453,
0.008275209926068783,
-0.042372751981019974,
-0.021220821887254715,
-0.03238348662853241,
-0.00839807465672493,
-0.0019124159589409828,
0.006859379354864359,
0.057362303137779236,
-0.0439373217523098,
-0.11422795802354813,
0.0228154044598341,
-0... | 0.128894 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//25-GKE-PD-Regional-PD/README.md | main | google-kubernetes-engine | [
0.005814955569803715,
0.025691214948892593,
0.008641225285828114,
-0.051055461168289185,
-0.014489230699837208,
0.0048793829046189785,
-0.044371165335178375,
-0.050463709980249405,
0.023694967851042747,
0.002323765540495515,
-0.008278189226984978,
-0.13123638927936554,
0.027939293533563614,
... | 0.052685 |
## Step-01: Introduction - Register Domain Name using Google Cloud Domains ## Step-02: Register Domain - Go to Networking Services -> Cloud Domains -> Click on \*\*REGISTER DOMAIN\*\* - \*\*Search Domain:\*\* kalyanreddydaida.com - Click on \*\*SELECT\*\* - Click on \*\*CONTINUE\*\* - \*\*DNS CONFIGURATION\*\* - \*\*DN... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//37-Google-Cloud-Domains/README.md | main | google-kubernetes-engine | [
-0.096662238240242,
-0.04655875265598297,
-0.002867820207029581,
-0.09800594300031662,
-0.0825038030743599,
-0.061006177216768265,
-0.06601584702730179,
-0.0990198403596878,
0.022488931193947792,
0.043198443949222565,
-0.006684582680463791,
-0.043121833354234695,
0.027326762676239014,
-0.0... | -0.063553 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//21-GKE-PD-existing-SC-standard-rwo/README.md | main | google-kubernetes-engine | [
0.009254109114408493,
0.003006843151524663,
0.021367741748690605,
-0.05868680775165558,
-0.011796127073466778,
-0.003338245674967766,
-0.03768543899059296,
-0.06438297778367996,
0.010130563750863075,
0.010653246194124222,
-0.007212820462882519,
-0.1488312929868698,
0.026028191670775414,
-0... | 0.055257 |
the pods and replaces them with the new version. # 3. Ramped slow rollout: This strategy rolls out replicas of the new version, while in parallel, shutting down old replicas. # 4. Best-effort controlled rollout: This strategy specifies a “max unavailable” parameter which indicates what percentage of existing pods can b... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//21-GKE-PD-existing-SC-standard-rwo/README.md | main | google-kubernetes-engine | [
0.07911161333322525,
-0.055624425411224365,
0.07117362320423126,
-0.017380252480506897,
0.005791761446744204,
-0.06665175408124924,
-0.07870510965585709,
-0.02120576985180378,
0.012574756518006325,
0.07805425673723221,
0.03029792010784149,
0.04764650762081146,
0.0055236490443348885,
-0.048... | 0.138887 |
out of which "standard-rwo" and "premium-rwo" are part of Compute Engine Persistent Disks (latest and greatest - Recommended for use) 2. Not recommended to use Storage Class with name "standard" (Older version) ``` ## Step-13: Connect to MySQL Database ```t # Template: Connect to MySQL Database using kubectl kubectl ru... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//21-GKE-PD-existing-SC-standard-rwo/README.md | main | google-kubernetes-engine | [
-0.012648975476622581,
-0.013542541302740574,
-0.06475380063056946,
-0.04145745933055878,
-0.08497108519077301,
0.006409698165953159,
0.0013641422847285867,
0.03749512881040573,
0.024627601727843285,
0.02818138711154461,
0.019665095955133438,
-0.03139547258615494,
0.09553838521242142,
-0.0... | 0.057594 |
premium-rwo: using SSD persistent disk - For Autopilot clusters: The default StorageClass is standard-rwo, which uses the Compute Engine persistent disk CSI Driver. - For Standard clusters: The default StorageClass uses the Kubernetes in-tree gcePersistentDisk volume plugin. ```t # You can find the name of your install... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//21-GKE-PD-existing-SC-standard-rwo/README.md | main | google-kubernetes-engine | [
-0.04759754240512848,
-0.0015368378954008222,
-0.07422219216823578,
0.053389012813568115,
0.026272935792803764,
0.03641291707754135,
-0.02535652369260788,
0.003195742145180702,
0.02227112464606762,
0.0149226114153862,
0.011156954802572727,
0.007625424303114414,
0.030720099806785583,
0.0026... | 0.141591 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//41-GKE-Workload-Identity/README.md | main | google-kubernetes-engine | [
0.01359489094465971,
-0.036547910422086716,
0.02496255561709404,
-0.08637167513370514,
-0.05090774595737457,
0.017481273040175438,
0.011705081909894943,
-0.04156804457306862,
0.02359491027891636,
0.08239523321390152,
-0.01081670168787241,
-0.17140090465545654,
0.04519636556506157,
-0.02521... | 0.059772 |
service account. ```t # Annotate Kubernetes Service Account with GCP IAM SA email Address kubectl annotate serviceaccount KSA\_NAME \ --namespace NAMESPACE \ iam.gke.io/gcp-service-account=GSA\_NAME@GSA\_PROJECT\_ID.iam.gserviceaccount.com # Replace KSA\_NAME, NAMESPACE, GSA\_NAME, GSA\_PROJECT\_ID kubectl annotate ser... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//41-GKE-Workload-Identity/README.md | main | google-kubernetes-engine | [
-0.04856088012456894,
0.0012645266251638532,
0.025796940550208092,
-0.05966566503047943,
-0.01190020702779293,
-0.014260227791965008,
0.023461762815713882,
-0.0182292889803648,
0.09700777381658554,
0.07910265773534775,
0.01571488007903099,
-0.12784075736999512,
-0.013759830966591835,
-0.05... | 0.09347 |
-it wid-demo-with-sa -- /bin/bash # List Cloud DNS Record Sets gcloud dns record-sets list --zone=kalyanreddydaida-com ### Sample Output root@wid-demo-with-sa:/# gcloud dns record-sets list --zone=kalyanreddydaida-com NAME TYPE TTL DATA kalyanreddydaida.com. NS 21600 ns-cloud-a1.googledomains.com.,ns-cloud-a2.googledom... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//41-GKE-Workload-Identity/README.md | main | google-kubernetes-engine | [
-0.04276629909873009,
-0.024841321632266045,
-0.04459704831242561,
-0.06984338164329529,
-0.011556214652955532,
-0.07512182742357254,
-0.031769972294569016,
-0.08843278139829636,
0.0562889501452446,
0.10566052049398422,
0.02231483720242977,
-0.0466327890753746,
0.010692842304706573,
-0.068... | -0.018809 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//47-GKE-Ingress-with-Identity-Aware-Proxy/README.md | main | google-kubernetes-engine | [
-0.04015717655420303,
-0.013717597350478172,
0.057822659611701965,
-0.07773402333259583,
-0.06527142971754074,
-0.037499673664569855,
-0.01857895404100418,
-0.021405328065156937,
0.036821842193603516,
0.04143963381648064,
-0.005230112466961145,
-0.1452295333147049,
0.03518587723374367,
-0.... | 0.014012 |
principal as part of Step-09) Password: XXXXXXXXXX Observation: 1. It should fail, Application should not be accessible. ``` ## Step-12: Clean-Up ```t # Delete Kubernetes Resources kubectl delete -f kube-manifests # Delete Kubernetes Secret kubectl delete secret my-secret # Delete OAuth Credentials Go to API & Services... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//47-GKE-Ingress-with-Identity-Aware-Proxy/README.md | main | google-kubernetes-engine | [
-0.05290902405977249,
0.052736829966306686,
0.05905735865235329,
-0.06143977865576744,
0.00886372197419405,
-0.029195453971624374,
0.022162513807415962,
-0.02999633178114891,
0.038975585252046585,
0.07418344169855118,
0.038306184113025665,
-0.08280407637357712,
0.04425080865621567,
-0.0553... | 0.08058 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//43-GKE-ExternalDNS-Ingress-Demo/README.md | main | google-kubernetes-engine | [
-0.06763988733291626,
-0.01872236654162407,
0.038619402796030045,
-0.04111238941550255,
-0.05062585696578026,
-0.03589146211743355,
-0.03522496297955513,
-0.021255668252706528,
0.04311760514974594,
0.05562508851289749,
-0.035291001200675964,
-0.10923849046230316,
0.0035228226333856583,
-0.... | 0.093532 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//29-GKE-Storage-with-GCP-CloudSQL-Private/README.md | main | google-kubernetes-engine | [
0.017640646547079086,
-0.04827681928873062,
0.013121288269758224,
-0.04367624968290329,
-0.04635908454656601,
0.01313069462776184,
0.0014763179933652282,
-0.06910564750432968,
-0.027047526091337204,
0.04245603457093239,
0.003426397917792201,
-0.11330260336399078,
0.05962342023849487,
-0.08... | 0.006758 |
db-password ``` ## Step-08: 04-UserMgmtWebApp-LoadBalancer-Service.yaml ```yaml apiVersion: v1 kind: Service metadata: name: usermgmt-webapp-lb-service labels: app: usermgmt-webapp spec: type: LoadBalancer selector: app: usermgmt-webapp ports: - port: 80 # Service Port targetPort: 8080 # Container Port ``` ## Step-09: ... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//29-GKE-Storage-with-GCP-CloudSQL-Private/README.md | main | google-kubernetes-engine | [
0.005166385788470507,
-0.011540300212800503,
-0.021344207227230072,
-0.045896999537944794,
-0.008247564546763897,
-0.024015657603740692,
0.020942047238349915,
-0.00005811564187752083,
0.004303013905882835,
0.04367803409695625,
0.013372285291552544,
-0.10554946213960648,
0.00625433586537838,
... | 0.102422 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//55-GKE-Ingress-Cloud-Armor/README.md | main | google-kubernetes-engine | [
-0.018158433958888054,
-0.01613350212574005,
0.030376913025975227,
-0.08316709846258163,
-0.0342535637319088,
-0.060728900134563446,
-0.0295241866260767,
-0.036198098212480545,
0.033867381513118744,
0.055494729429483414,
-0.003582355799153447,
-0.13240274786949158,
0.04174879565834999,
-0.... | 0.062518 |
Step-09: Add new rule in Cloud Armor Policy - Go to Network Security -> Cloud Armor -> POLICIES -> cloud-armor-policy-1 -> RULES -> ADD RULE - \*\*Description:\*\* Allow-from-my-desktop - \*\*Mode:\*\* Basic Mode(IP Address / Ranges only) - \*\*Match:\*\* 49.206.52.84 (My internet connection public ip) - \*\*Action:\*\... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//55-GKE-Ingress-Cloud-Armor/README.md | main | google-kubernetes-engine | [
-0.022622423246502876,
0.07574091106653214,
0.03891430422663689,
-0.12310419976711273,
-0.011956192553043365,
0.001566692953929305,
0.005433442071080208,
-0.07814819365739822,
0.01070859469473362,
0.07514128088951111,
0.07356639951467514,
-0.03789243847131729,
0.05104437470436096,
-0.04266... | -0.008041 |
## Step-01: PODs Introduction - What is a POD ? - What is a Multi-Container POD? ## Step-02: PODs Demo ### Step-02-01: Get Worker Nodes Status - Verify if kubernetes worker nodes are ready. ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project gcloud container clusters get... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//06-kubectl-imperative-k8s-pods/README.md | main | google-kubernetes-engine | [
0.012037830427289009,
0.006262847688049078,
0.03888346627354622,
-0.028576470911502838,
-0.013549533672630787,
-0.05614110827445984,
-0.00022041199554223567,
-0.001099486486054957,
0.0008707675733603537,
0.03847471624612808,
0.022179236635565758,
-0.0904294103384018,
0.0024772973265498877,
... | 0.128351 |
and Services\*\* on Google GKE Dashboard GCP Console ## Step-05: Interact with a Pod ### Step-05-01: Verify Pod Logs ```t # Get Pod Name kubectl get po # Dump Pod logs kubectl logs kubectl logs my-first-pod # Stream pod logs with -f option and access application to see logs kubectl logs kubectl logs -f my-first-pod ```... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//06-kubectl-imperative-k8s-pods/README.md | main | google-kubernetes-engine | [
0.004019563551992178,
-0.022187381982803345,
0.06993976980447769,
-0.04297228530049324,
0.006275890860706568,
-0.05521480366587639,
0.0033265266101807356,
-0.03385205194354057,
0.020853761583566666,
0.04575440660119057,
-0.02417287416756153,
-0.09146266430616379,
-0.025693189352750778,
0.0... | 0.075478 |
## Step-01: Introduction - Create GKE Standard GKE Cluster - Configure Google CloudShell to access GKE Cluster - Deploy simple Kubernetes Deployment and Kubernetes Load Balancer Service and Test - Clean-Up ## Step-02: Create Standard GKE Cluster - Go to Kubernetes Engine -> Clusters -> CREATE - Select \*\*GKE Standard ... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//02-Create-GKE-Cluster/README.md | main | google-kubernetes-engine | [
0.04199802875518799,
-0.005109881050884724,
0.01987500675022602,
-0.06473302841186523,
-0.04349628463387489,
-0.006910981144756079,
-0.05346217378973961,
-0.07265366613864899,
-0.019871698692440987,
0.0390956811606884,
-0.027731776237487793,
-0.08383321762084961,
-0.00885157473385334,
-0.0... | 0.052558 |
version kubectl version --short # Install kubectl (if not installed) gcloud components install kubectl # Configure kubectl gcloud container clusters get-credentials --zone --project gcloud container clusters get-credentials standard-cluster-1 --zone us-central1-c --project kdaida123 # Verify Kubernetes Worker Nodes kub... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//02-Create-GKE-Cluster/README.md | main | google-kubernetes-engine | [
0.0366838164627552,
-0.02324991300702095,
0.027512896806001663,
-0.053344666957855225,
0.03870103135704994,
-0.025863369926810265,
-0.02787596918642521,
-0.07246723026037216,
0.061852045357227325,
0.05928504467010498,
0.009754377417266369,
-0.1324332058429718,
-0.012065806426107883,
-0.073... | 0.071054 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//66-Kubernetes-Namespaces-LimitRange/README.md | main | google-kubernetes-engine | [
0.008518708869814873,
0.013505449518561363,
0.016713788732886314,
-0.04922318831086159,
-0.03663463890552521,
-0.002728652209043503,
-0.04074299335479736,
-0.03394046798348427,
0.055436018854379654,
0.04973972216248512,
-0.0011598037090152502,
-0.14845454692840576,
0.014508274383842945,
-0... | 0.078404 |
is 600m # Get & Describe Limits kubectl get limits -n qa kubectl describe limits default-cpu-mem-limit-range -n qa # List Services kubectl get svc -n qa # Access Application http:/// ``` ## Step-08: Demo-02: Update Deployment resources.limit=500m - \*\*File Name:\*\* 03-kubernetes-deployment.yaml ```t # Demo-02: Update... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//66-Kubernetes-Namespaces-LimitRange/README.md | main | google-kubernetes-engine | [
0.0132781732827425,
0.005988190416246653,
-0.04001476243138313,
0.003664865856990218,
-0.04642149433493614,
-0.05349922180175781,
-0.025626165792346,
0.014626902528107166,
0.04386528953909874,
0.05816396698355675,
-0.00044709586654789746,
-0.06392651051282883,
-0.037414442747831345,
-0.072... | 0.194374 |
## Step-00: Pre-requisites - We should have the two clusters created and ready - standard-cluster-private-1 - autopilot-cluster-private-1 ## Step-01: Introduction - Configure access to Multiple Clusters - Understand kube config file $HOME/.kube/config - Understand kubectl config command - kubectl config view - kubectl ... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//69-Access-To-Multiple-Clusters/README.md | main | google-kubernetes-engine | [
0.0663798451423645,
-0.027411747723817825,
0.029320092871785164,
-0.050952766090631485,
-0.0025663997512310743,
0.00028812538948841393,
-0.0001496238401159644,
-0.020814979448914528,
-0.03784964606165886,
0.05653825029730797,
0.03128613904118538,
-0.16943363845348358,
-0.00295294844545424,
... | 0.071216 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//46-GKE-Ingress-SSL-Policy/README.md | main | google-kubernetes-engine | [
-0.04312436655163765,
-0.0016418119193986058,
0.05206235870718956,
-0.043404124677181244,
-0.08291911333799362,
-0.03560381755232811,
-0.0009528140653856099,
-0.04451506584882736,
0.03159502148628235,
0.03800113499164581,
-0.059347182512283325,
-0.10571767389774323,
0.047359902411699295,
-... | 0.056971 |
## Step-01: Introduction - Install gcloud CLI on MacOS - Configure kubeconfig for kubectl on your local terminal - Verify if you are able to reach GKE Cluster using kubectl from your local terminal ## Step-02: Install gcloud cli on MacOS - [Install gcloud cli](https://cloud.google.com/sdk/docs/install-sdk#mac) ```t # V... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//03-gcloud-cli-install-macos/README.md | main | google-kubernetes-engine | [
-0.027548842132091522,
-0.021490097045898438,
0.06183727830648422,
-0.06617113202810287,
0.006391751114279032,
-0.0555870495736599,
-0.04476366564631462,
-0.04982578009366989,
0.014217684976756573,
0.015027472749352455,
0.04140280932188034,
-0.10055103152990341,
0.020243294537067413,
-0.05... | 0.007147 |
get nodes # Verify System Pod in kube-system Namespace kubectl -n kube-system get pods # Verify kubeconfig file cat $HOME/.kube/config kubectl config view ``` ## References - [gcloud CLI](https://cloud.google.com/sdk/gcloud) - [Install the Google Cloud CLI](https://cloud.google.com/sdk/docs/install-sdk#mac) | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//03-gcloud-cli-install-macos/README.md | main | google-kubernetes-engine | [
0.0039033645298331976,
0.004119850229471922,
0.04850435256958008,
-0.06028366833925247,
0.061405546963214874,
-0.052392274141311646,
0.01535470224916935,
-0.0676150843501091,
0.04083002731204033,
0.03867633640766144,
0.04582792520523071,
-0.12150384485721588,
0.024820245802402496,
-0.10425... | 0.055637 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//19-GKE-Headless-Service/README.md | main | google-kubernetes-engine | [
0.03600721433758736,
0.017160354182124138,
0.017881622537970543,
-0.0586758516728878,
-0.02213328331708908,
-0.02745966985821724,
-0.030706455931067467,
-0.04845660179853439,
0.029267359524965286,
0.062125109136104584,
0.007900340482592583,
-0.11650121957063675,
0.013785128481686115,
-0.05... | 0.093564 |
02-kube-manifests-curl ``` | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//19-GKE-Headless-Service/README.md | main | google-kubernetes-engine | [
0.004068948794156313,
0.021794360131025314,
0.056837234646081924,
-0.07502391189336777,
-0.05224015563726425,
-0.02053048461675644,
-0.0229656882584095,
-0.013875366188585758,
0.08899456262588501,
0.002565657952800393,
-0.01483377069234848,
-0.07695670425891876,
-0.05706196278333664,
-0.08... | 0.12727 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//26-GKE-PD-Volume-Snapshots-and-Restore/README.md | main | google-kubernetes-engine | [
-0.008326721377670765,
-0.0022958009503781796,
0.002394507173448801,
-0.08089876174926758,
-0.02810061164200306,
-0.014834887348115444,
-0.047388721257448196,
-0.05059428885579109,
0.00946336705237627,
0.01355693954974413,
0.008922811597585678,
-0.15123571455478668,
0.04307999461889267,
-0... | 0.051366 |
01-restore-pvc.yaml ```yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-restore spec: dataSource: name: my-snapshot1 kind: VolumeSnapshot apiGroup: snapshot.storage.k8s.io storageClassName: standard-rwo accessModes: - ReadWriteOnce resources: requests: storage: 4Gi ``` ### Step-08-02: 02-mysql-deploy... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//26-GKE-PD-Volume-Snapshots-and-Restore/README.md | main | google-kubernetes-engine | [
-0.058278828859329224,
-0.04338710382580757,
0.02046266384422779,
-0.034844450652599335,
0.013281612657010555,
-0.014918089844286442,
0.009602644480764866,
-0.00907520018517971,
0.04074723646044731,
0.09333840012550354,
0.03504953533411026,
-0.07791963219642639,
0.08284720778465271,
0.0103... | -0.004273 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//57-GKE-Continuous-Integration/README.md | main | google-kubernetes-engine | [
-0.003284557955339551,
0.004490795079618692,
0.0522623285651207,
-0.06803476065397263,
-0.02589474804699421,
-0.043086133897304535,
-0.041661523282527924,
-0.08725827187299728,
-0.027666177600622177,
0.047736167907714844,
-0.011244688183069229,
-0.13906721770763397,
0.03991318494081497,
-0... | 0.034181 |
point to "id\_gcp\_cloud\_source" private key vi config ## Sample Output after changes Kalyans-Mac-mini:.ssh kalyanreddy$ cat config Host \* AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id\_gcp\_cloud\_source Kalyans-Mac-mini:.ssh kalyanreddy$ # Backup config with cloudsource cp config config\_with\_cloud\_so... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//57-GKE-Continuous-Integration/README.md | main | google-kubernetes-engine | [
0.009279435500502586,
-0.011654685251414776,
-0.008591909892857075,
-0.030652405694127083,
-0.002890818752348423,
0.008465992286801338,
0.03800828754901886,
-0.0011085552396252751,
0.008363613858819008,
0.0963645726442337,
0.052451491355895996,
-0.049007318913936615,
0.025629626587033272,
... | -0.063726 |
Repositories https://source.cloud.google.com/repos Go to Repo -> myapp1-app-repo ``` ## Step-17: Create Continuous Integration Pipeline in Cloud Build - Go to Cloud Build -> Dashboard -> Region: us-central-1 -> Click on \*\*SET UP BUILD TRIGGERS\*\* [OR] - Go to Cloud Build -> TRIGGERS -> Click on \*\*CREATE TRIGGER\*\... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//57-GKE-Continuous-Integration/README.md | main | google-kubernetes-engine | [
-0.010618590749800205,
-0.07401654124259949,
0.03748498484492302,
-0.04752383381128311,
0.005741684231907129,
-0.03425563871860504,
-0.03963818773627281,
-0.022884231060743332,
0.0265450868755579,
0.09272866696119308,
0.008985480293631554,
-0.12023540586233139,
0.06320969760417938,
-0.0740... | -0.025063 |
Principal:\*\* dkalyanreddy@gmail.com - \*\*Assign Roles:\*\* Cloud Build Approver - Click on \*\*SAVE\*\* ## Step-27: Update the Git Repo to test Build Approval Process ```t # Change Directroy cd myapp1-app-repo # Update file index.html (change V2 to V3) Application Version: V3 # Local Git Commit and Push to Remote Re... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//57-GKE-Continuous-Integration/README.md | main | google-kubernetes-engine | [
-0.03301336616277695,
-0.062467873096466064,
0.10540875792503357,
-0.04403066262602806,
0.01023054402321577,
-0.03160065412521362,
-0.01894148252904415,
-0.05853266268968582,
0.041329532861709595,
0.11868291348218918,
0.033105019479990005,
-0.11817328631877899,
0.007362577132880688,
-0.060... | -0.050839 |
## Step-01: Introduction to ReplicaSets - What are ReplicaSets? - What is the advantage of using ReplicaSets? ## Step-02: Create ReplicaSet ### Step-02-01: Create ReplicaSet - Create ReplicaSet ```t # Kubernetes ReplicaSet kubectl create -f replicaset-demo.yml ``` - \*\*replicaset-demo.yml\*\* ```yaml apiVersion: apps/... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//07-kubectl-declarative-k8s-ReplicaSets/README.md | main | google-kubernetes-engine | [
-0.03430287912487984,
0.029532279819250107,
0.010153450071811676,
-0.020352909341454506,
0.029082614928483963,
-0.020290063694119453,
-0.01435755379498005,
-0.009160107001662254,
0.07264748215675354,
0.009867939166724682,
0.05594798922538757,
-0.10523698478937149,
0.008695616386830807,
-0.... | 0.186181 |
## Step-00: Introduction - Why do we need Pausing & Resuming Deployments? - If we want to make multiple changes to our Deployment, we can pause the deployment make all changes and resume it. - We are going to update our Application Version from \*\*V3 to V4\*\* as part of learning "Pause and Resume Deployments" ## Step... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//11-kubectl-imperative-k8s-deployment-PAUSE-RESUME/README.md | main | google-kubernetes-engine | [
-0.021847473457455635,
-0.03903919458389282,
0.05081988498568535,
-0.042357128113508224,
-0.0027450346387922764,
-0.0009744851267896593,
-0.041828423738479614,
-0.059785302728414536,
0.03154648467898369,
0.03749090060591698,
0.047037508338689804,
-0.02535177581012249,
-0.01864660158753395,
... | 0.135999 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, ZONE, PROJECT gcloud container clusters get-credenti... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//40-GKE-Ingress-Google-Managed-SSL-Redirect/README.md | main | google-kubernetes-engine | [
-0.016976458951830864,
-0.004296508617699146,
0.022789571434259415,
-0.04633063077926636,
-0.061014916747808456,
-0.05484708026051521,
-0.03642875701189041,
-0.07218576222658157,
0.036298781633377075,
-0.001098612672649324,
-0.012463940307497978,
-0.11484681814908981,
0.05580376833677292,
... | 0.0033 |
## Step-00: Pre-requisites 1. Verify if GKE Cluster is created 2. Verify if kubeconfig for kubectl is configured in your local terminal ```t # Configure kubeconfig for kubectl gcloud container clusters get-credentials --region --project # Replace Values CLUSTER-NAME, REGION, PROJECT gcloud container clusters get-creden... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//51-GKE-Ingress-ClientIP-Affinity/README.md | main | google-kubernetes-engine | [
-0.02794208936393261,
-0.027650054544210434,
0.0030201785266399384,
-0.05501239746809006,
-0.06296976655721664,
-0.011828405782580376,
-0.032301727682352066,
0.004076397977769375,
0.03541885316371918,
0.0726008266210556,
-0.004612086806446314,
-0.1352616846561432,
-0.0008505260339006782,
-... | 0.140317 |
enabled configuration, set the field's value to an empty string ("") or to a Boolean value of false, depending on the field type. ```yaml apiVersion: cloud.google.com/v1 kind: BackendConfig metadata: name: my-backendconfig spec: timeoutSec: 42 # Backend service timeout: https://cloud.google.com/kubernetes-engine/docs/h... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//51-GKE-Ingress-ClientIP-Affinity/README.md | main | google-kubernetes-engine | [
0.008721902966499329,
0.06636098027229309,
0.0464770570397377,
0.040731679648160934,
-0.019051557406783104,
0.001583106815814972,
-0.005159534513950348,
-0.051329635083675385,
0.07653231173753738,
0.05243668332695961,
-0.024527335539460182,
-0.04233792796730995,
0.0018033498199656606,
-0.0... | 0.06498 |
## Step-01: Kubernetes YAML Top level Objects - Discuss about the k8s YAML top level objects - \*\*kube-base-definition.yml\*\* ```yml apiVersion: kind: metadata: spec: ``` - [Kubernetes Reference](https://kubernetes.io/docs/reference/) - [Kubernetes API Reference](https://kubernetes.io/docs/reference/kubernetes-api/) ... | https://github.com/stacksimplify/google-kubernetes-engine/blob/main//14-yaml-declarative-k8s-pods/README.md | main | google-kubernetes-engine | [
0.008897196501493454,
0.036078084260225296,
0.06409145146608353,
-0.007314563263207674,
-0.0005875611095689237,
-0.00488573731854558,
0.005684647709131241,
0.012289182282984257,
0.015564829111099243,
0.02652888186275959,
-0.011108717881143093,
-0.08900302648544312,
-0.014785079285502434,
-... | 0.142589 |
# FAQ This section addresses some frequently asked questions about Consul's architecture. ### How does eventually-consistent gossip relate to the Raft consensus protocol? When you query Consul for information about a service, such as via the [DNS interface](https://developer.hashicorp.com/docs/discovery/dns), the agent... | https://github.com/hashicorp/consul/blob/main//docs/faq.md | main | consul | [
-0.08290708810091019,
-0.051009852439165115,
-0.037034276872873306,
-0.01165235135704279,
-0.011999492533504963,
-0.14128348231315613,
-0.048353686928749084,
-0.049883630126714706,
0.058723993599414825,
0.014419376850128174,
0.018539292737841606,
0.07777794450521469,
-0.011523807421326637,
... | 0.094843 |
# Consul Developer Documentation See [our contributing guide](../.github/CONTRIBUTING.md) to get started. This directory contains documentation intended for anyone interested in understanding, and contributing changes to, the Consul codebase. ## Overview This documentation is organized into the following categories. Ea... | https://github.com/hashicorp/consul/blob/main//docs/README.md | main | consul | [
-0.019276181235909462,
-0.0044922130182385445,
-0.07249495387077332,
-0.05870576202869415,
0.0295066237449646,
-0.0783814862370491,
-0.08979832381010056,
0.06422772258520126,
0.018557744100689888,
0.026747483760118484,
0.05196360871195793,
0.008644936606287956,
-0.014101737178862095,
0.014... | 0.167557 |
# Adding a Consul Config Field This is a checklist of all the places you need to update when adding a new field to config. There may be a few other special cases not included but this covers the majority of configs. We suggest you copy the raw markdown into a gist or local file and check them off as you go (you can mar... | https://github.com/hashicorp/consul/blob/main//docs/config/checklist-adding-config-fields.md | main | consul | [
-0.008443697355687618,
0.007979190908372402,
-0.043762512505054474,
-0.059521693736314774,
0.014014596119523048,
-0.04163587838411331,
0.022387972101569176,
0.06682085245847702,
-0.02196459099650383,
0.08275281637907028,
0.047759853303432465,
-0.04809816554188728,
0.022193240001797676,
0.0... | 0.067477 |
Service Definition, make sure you continue on to follow the appropriate checklists below. ## Adding a CLI Flag Corresponding to the new Field If the config field also needs a CLI flag, then follow these steps. - [ ] Do all of the steps in [Adding a Simple Config Field For Client Agents](#adding-a-simple-config-field-fo... | https://github.com/hashicorp/consul/blob/main//docs/config/checklist-adding-config-fields.md | main | consul | [
0.028360553085803986,
-0.03164688125252724,
-0.10769310593605042,
-0.05583866313099861,
-0.06657000631093979,
-0.03853471204638481,
0.04617009311914444,
0.012340487912297249,
-0.1030358374118805,
0.0012974131386727095,
0.051671870052814484,
-0.030173659324645996,
0.07389311492443085,
0.073... | -0.001228 |
both config files and API bodies to avoid needless confusion, we have to accept both snake case and camel case field names for the service definition. Finally, adding a field to the service definition implies adding the field to several internal structs and to all API outputs that display services from the catalog. Tha... | https://github.com/hashicorp/consul/blob/main//docs/config/checklist-adding-config-fields.md | main | consul | [
-0.07105127722024918,
0.008092773146927357,
-0.03219262883067131,
-0.040194813162088394,
-0.0431474931538105,
-0.047578003257513046,
0.029434161260724068,
0.01578313298523426,
-0.08418554067611694,
-0.005329390987753868,
0.03262680023908615,
-0.014957964420318604,
0.058534275740385056,
0.0... | 0.071419 |
is needed, tests for these endpoints might be warranted too. It's usual to use `omit-empty` for new fields that will typically not be used by existing registrations although we don't currently test for that systematically. | https://github.com/hashicorp/consul/blob/main//docs/config/checklist-adding-config-fields.md | main | consul | [
-0.02142711728811264,
-0.04253562167286873,
-0.0169516708701849,
0.04435388743877411,
0.031570930033922195,
0.004674007650464773,
-0.0180978886783123,
-0.0740518793463707,
0.03780258074402809,
-0.08083053678274155,
0.07939426600933075,
-0.0609600804746151,
-0.02859639935195446,
-0.02274131... | 0.009838 |
# Agent Configuration The [Agent Configuration] is the primary mechanism for configuring Consul. Agent Configuration also allows for specifying [Config Entries], [Services], and [Checks] that will be loaded when the agent starts. Most configuration comes from [hcl] or `json` files, but some configuration can also be sp... | https://github.com/hashicorp/consul/blob/main//docs/config/README.md | main | consul | [
0.008929701521992683,
-0.00013810100790578872,
-0.1088564321398735,
-0.03996994346380234,
-0.028931181877851486,
-0.05199611186981201,
-0.011729578487575054,
0.01763935200870037,
-0.020202040672302246,
-0.020321611315011978,
0.0644979253411293,
-0.002041274681687355,
0.011210411787033081,
... | 0.143278 |
# Adding a Changelog Entry Any change that a Consul user might need to know about should have a changelog entry. What doesn't need a changelog entry? - Docs changes - Typos fixes, unless they are in a public-facing API - Code changes we are certain no Consul users will need to know about To include a [changelog entry](... | https://github.com/hashicorp/consul/blob/main//docs/contributing/add-a-changelog-entry.md | main | consul | [
-0.03829921409487724,
0.046887267380952835,
-0.009658035822212696,
-0.03218673914670944,
0.06287004798650742,
-0.005161473993211985,
-0.015216326341032982,
0.08395189046859741,
0.009209990501403809,
0.09992069751024246,
0.07114274799823761,
-0.004700374323874712,
-0.004770652391016483,
-0.... | 0.095972 |
# Forking the Consul Repo Community members wishing to contribute code to Consul must fork the Consul project (`your-github-username/consul`). Branches pushed to that fork can then be submitted as pull requests to the upstream project (`hashicorp/consul`). To locally clone the repo so that you can pull the latest from ... | https://github.com/hashicorp/consul/blob/main//docs/contributing/fork-the-project.md | main | consul | [
-0.01912304200232029,
-0.07341647148132324,
-0.053278181701898575,
-0.0819721519947052,
-0.04626341536641121,
-0.07052189856767654,
-0.04680231958627701,
0.09356489777565002,
-0.0017741817282512784,
0.04996956139802933,
0.043617963790893555,
-0.02378283068537712,
-0.010175889357924461,
0.0... | -0.012264 |
# Command-Line Interface (CLI) This section is a work in progress. The `consul` binary provides a CLI for interacting with the [HTTP API]. Some commands may also exec other processes or generate data used by Consul (ex: tls certificates). The `agent` command is responsible for starting the Consul agent. The [cli refere... | https://github.com/hashicorp/consul/blob/main//docs/cli/README.md | main | consul | [
-0.056419868022203445,
0.01647113263607025,
-0.11909312009811401,
-0.08070314675569534,
-0.026923738420009613,
-0.1175328716635704,
-0.027632271870970726,
0.027358248829841614,
0.059896666556596756,
-0.019784020259976387,
0.04764783754944801,
-0.037764109671115875,
0.020194150507450104,
0.... | 0.172876 |
# Network Areas (ENTERPRISE ONLY) ## Overview ### Description and Background Network areas define pairwise gossip pools over the WAN between Consul datacenters. Gossip traffic between Consul servers in an area is done over the server RPC port, and uses TCP connections. This is unlike Consul's primary WAN and LAN pools,... | https://github.com/hashicorp/consul/blob/main//docs/cluster-federation/network-areas/README.md | main | consul | [
0.03197247162461281,
0.014733077958226204,
-0.04964938387274742,
-0.029683658853173256,
0.008770059794187546,
-0.1080939769744873,
0.004903614055365324,
0.020676065236330032,
0.10119307041168213,
-0.0013289388734847307,
0.012519067153334618,
0.037889160215854645,
0.011892464943230152,
0.03... | 0.187008 |
are cross-datacenters requests made to Consul's public APIs, such as to list service health. ### Area gossip When a network area is added to a server's gossip network, Consul configures memberlist with a custom transport that implements memberlist's [Transport interface](https://github.com/hashicorp/memberlist/blob/619... | https://github.com/hashicorp/consul/blob/main//docs/cluster-federation/network-areas/README.md | main | consul | [
-0.05399128422141075,
-0.061153631657361984,
-0.05625181645154953,
-0.02790430746972561,
0.030471639707684517,
-0.07740253955125809,
0.05976789444684982,
0.036305058747529984,
0.009126556105911732,
0.015855776146054268,
0.030024228617548943,
0.01874811016023159,
0.020590603351593018,
0.055... | 0.215378 |
# Cluster Persistence > \*\*Note\*\* > While the content of this document is still accurate, it doesn't cover the new > generic resource-oriented storage layer introduced in Consul 1.16. Please see > [Resources](../v2-architecture/controller-architecture) for more information. The cluser persistence subsystem runs enti... | https://github.com/hashicorp/consul/blob/main//docs/persistence/README.md | main | consul | [
-0.03488641977310181,
0.022292518988251686,
-0.1440562605857849,
-0.013821166940033436,
0.014735089614987373,
-0.07847246527671814,
-0.023693663999438286,
0.03780277818441391,
0.020863480865955353,
0.006075074430555105,
0.03351486474275589,
0.03649772331118584,
0.002026950940489769,
0.0297... | 0.244608 |
reading the snapshot archives for users. See [commands/snapshot] for a reference to these user facing operations. [CLI]: ../cli [HTTP API]: ../http-api [commands/snapshot]: https://developer.hashicorp.com/commands/snapshot [consul/snapshot]: https://github.com/hashicorp/consul/tree/main/snapshot Finally, there is also ... | https://github.com/hashicorp/consul/blob/main//docs/persistence/README.md | main | consul | [
-0.03748781979084015,
0.010826773941516876,
-0.07443360239267349,
-0.05349348857998848,
0.036032259464263916,
-0.11177930980920792,
-0.08436822891235352,
0.029426461085677147,
0.01944098435342312,
0.056529685854911804,
0.028577830642461777,
0.03388305753469467,
-0.00578246871009469,
-0.043... | 0.213551 |
# DNS Interface The DNS interface allows users to find the IP address and port of services, using DNS queries. The DNS interface is in many ways similar to an HTTP API. The major difference is in the DNS protocol. There are lots of guides to DNS, the following list is a short reference that should help you understand t... | https://github.com/hashicorp/consul/blob/main//docs/service-discovery/dns.md | main | consul | [
-0.08414529263973236,
-0.020283518359065056,
-0.008207162842154503,
-0.05543036013841629,
-0.0759221613407135,
-0.07223966717720032,
-0.02773071452975273,
0.04158647358417511,
0.1035308912396431,
-0.008942149579524994,
-0.0317777544260025,
0.029255086556077003,
-0.013682923279702663,
0.027... | 0.172592 |
# Health Checks This section is still a work in progress. [agent/checks](https://github.com/hashicorp/consul/tree/main/agent/checks) contains the logic for performing active [health checking](https://developer.hashicorp.com/docs/agent/checks.html). ## Check Registration flows There are many paths to register a check. M... | https://github.com/hashicorp/consul/blob/main//docs/service-discovery/health-checks.md | main | consul | [
0.04150110110640526,
-0.017996495589613914,
-0.10884822905063629,
-0.02338341251015663,
0.005827805958688259,
-0.07576826959848404,
0.01879861392080784,
0.00931502878665924,
-0.02691672369837761,
-0.005501305218786001,
0.05762530490756035,
-0.033656805753707886,
-0.05564720556139946,
0.059... | 0.159538 |
# RPC Consul uses two RPC systems for communication between components within the cluster and with other clients such as Envoy: [gRPC](https://grpc.io/) and Go's [`net/rpc`](https://pkg.go.dev/net/rpc) package. Communication between client agents and servers uses a mix of both gRPC and `net/rpc`. Generally, gRPC is pre... | https://github.com/hashicorp/consul/blob/main//docs/rpc/README.md | main | consul | [
-0.008495469577610493,
-0.05365100875496864,
-0.07196198403835297,
-0.053350578993558884,
-0.006466984748840332,
-0.03598020598292351,
-0.03445902839303017,
0.054682254791259766,
0.0949174091219902,
0.01947413571178913,
-0.007930545136332512,
0.055883098393678665,
-0.029285907745361328,
0.... | 0.168706 |
# Adding a new topic to streaming This document is a guide for adding a new streaming topic. 1. Add the name of the topic to the [proto/pbsubscribe/subscribe.proto Topic enum][1]. Run `make proto` to generate the Go code from the protobuf. 2. Add a `FromChanges` function to the list of change functions in [agent/consul... | https://github.com/hashicorp/consul/blob/main//docs/rpc/streaming/adding-a-topic.md | main | consul | [
0.005457607563585043,
-0.06539586186408997,
-0.08752591162919998,
-0.058333925902843475,
0.04625501483678818,
0.02150135301053524,
0.008310169912874699,
0.019860636442899704,
-0.00443024979904294,
0.05640038102865219,
-0.017845958471298218,
-0.07617218047380447,
-0.02108863927423954,
0.081... | 0.062685 |
# Event Streaming Event streaming is a new asynchronous RPC mechanism that is being added to Consul. Instead of synchronous blocking RPC calls (long polling) to fetch data when it changes, streaming sends events as they occur, and the client maintains a materialized view of the events. At the time of writing only the s... | https://github.com/hashicorp/consul/blob/main//docs/rpc/streaming/README.md | main | consul | [
-0.006250966340303421,
-0.0471222810447216,
-0.0634857639670372,
-0.030088450759649277,
0.05884832888841629,
-0.02475680038332939,
-0.005349759478121996,
0.014867272228002548,
0.10285602509975433,
0.03813158720731735,
-0.04059286788105965,
0.06338483095169067,
-0.06617163866758347,
0.03379... | 0.151755 |
indicates to the client that the snapshot is complete. Any future events will be changes in state. ## Event filtering As events pass through the system from the `state.Store` to the client they are grouped and filtered along the way. The diagram below helps illustrate where each of the grouping and filtering happens. !... | https://github.com/hashicorp/consul/blob/main//docs/rpc/streaming/README.md | main | consul | [
-0.07229252904653549,
0.06022441014647484,
0.029592322185635567,
-0.01005177479237318,
0.06212669238448143,
-0.013225162401795387,
0.055640414357185364,
-0.08343389630317688,
0.10739653557538986,
-0.027240777388215065,
0.024693824350833893,
0.046212419867515564,
-0.03230192884802818,
-0.07... | 0.124361 |
# Service Mesh (Connect) ## Terminology ### Data plane The data plane refers to gateways, sidecar proxies, or native application libraries that are in the request path of applications and embed service mesh logic around routing, authorization, and observability. For production deployments we primarily support [Envoy](h... | https://github.com/hashicorp/consul/blob/main//docs/service-mesh/README.md | main | consul | [
-0.03056303970515728,
-0.021905362606048584,
-0.049324359744787216,
-0.037298109382390976,
-0.053649257868528366,
-0.05754492059350014,
0.02821696735918522,
0.02527777850627899,
0.05414586886763573,
0.1312747299671173,
-0.015178424306213856,
0.07012548297643661,
0.007371074985712767,
0.020... | 0.143536 |
in use: \* [consul-dataplane](https://github.com/hashicorp/consul-dataplane) is used in "agentless" Consul. \* [command/connect/envoy](https://github.com/hashicorp/consul/tree/main/command/connect/envoy) is used with Consul agents. ### Internal resource watches The `proxycfg-\*` family of packages drive the process of ... | https://github.com/hashicorp/consul/blob/main//docs/service-mesh/README.md | main | consul | [
-0.031407635658979416,
-0.014014221727848053,
-0.06625239551067352,
-0.011527009308338165,
-0.04590547829866409,
-0.08513736724853516,
0.0015644682571291924,
-0.00986960157752037,
0.08969813585281372,
0.061087336391210556,
0.03061165288090706,
0.0699734315276146,
-0.00984909851104021,
-0.0... | 0.192353 |
# Proxycfg The `proxycfg-\*` family of packages drive the process of generating snapshots containing all of the data necessary to configure an Envoy proxy. This snapshot is populated via internal watches to resources such as configuration entries and service registrations. When initialized on a client agent these watch... | https://github.com/hashicorp/consul/blob/main//docs/service-mesh/proxycfg.md | main | consul | [
-0.06267739832401276,
-0.042757246643304825,
0.0058786459267139435,
-0.008518665097653866,
-0.002181810326874256,
-0.08915939927101135,
0.026322288438677788,
-0.043228838592767715,
0.05434265360236168,
0.06592948734760284,
0.008671270683407784,
0.08081523329019547,
0.007356850430369377,
-0... | 0.146524 |
It explicitly avoids re-generating all the data for the key being watched. ## agent/proxycfg-sources Contains implementations of the `agent/xds/ProxyConfigSource` interface, which ensures that proxy instances are registered or deregistered with the `proxycfg.Manager`. There are two distinct implementations split across... | https://github.com/hashicorp/consul/blob/main//docs/service-mesh/proxycfg.md | main | consul | [
-0.06583358347415924,
-0.07304766029119492,
-0.03415656089782715,
0.00010105624824063852,
-0.014521056786179543,
-0.024079587310552597,
0.037381984293460846,
-0.026286641135811806,
0.058534298092126846,
0.05573046952486038,
0.029696227982640266,
0.0553869903087616,
0.035226259380578995,
-0... | 0.053504 |
# xDS Server The `agent/xds` package implements the streaming `DeltaAggregatedResources` gRPC service used by Envoy to fetch configuration. At the core of the package is [delta.go](https://github.com/hashicorp/consul/blob/main/agent/xds/delta.go), which contains the implementation of the \*\*Incremental ADS\*\* protoco... | https://github.com/hashicorp/consul/blob/main//docs/service-mesh/xds.md | main | consul | [
-0.05941968783736229,
-0.049544259905815125,
-0.022348562255501747,
-0.07259294390678406,
0.008427608758211136,
-0.0789058655500412,
0.04325519874691963,
-0.020638156682252884,
0.045403413474559784,
-0.006590341683477163,
0.043431032449007034,
0.05908592417836189,
0.002387515502050519,
-0.... | 0.107058 |
integration test instead. For more information refer to their [documentation](test/integration/connect/envoy/). ## Delta (Incremental) xDS Protocol Consul's implementation of the incremental xDS protocol exists in the file [delta.go](https://github.com/hashicorp/consul/blob/main/agent/xds/delta.go). The interactions be... | https://github.com/hashicorp/consul/blob/main//docs/service-mesh/xds.md | main | consul | [
-0.04968061298131943,
-0.006951179355382919,
-0.028930936008691788,
-0.01542835496366024,
0.03843165934085846,
-0.09641506522893906,
0.03133082017302513,
-0.017842594534158707,
0.0717727392911911,
0.01299891248345375,
0.010621525347232819,
-0.0053066653199493885,
0.02386038564145565,
0.049... | 0.175202 |
# Certificate Authority (Connect CA) The Certificate Authority Subsystem manages a CA trust chain for issuing certificates to services and client agents (via auto-encrypt and auto-config). The code for the Certificate Authority is in the following packages: 1. most of the core logic is in [agent/consul/leader\_connect\... | https://github.com/hashicorp/consul/blob/main//docs/service-mesh/ca/README.md | main | consul | [
-0.022243622690439224,
-0.001613690285012126,
-0.08491858839988708,
-0.011798729188740253,
-0.04651612415909767,
-0.05624467134475708,
-0.013914543204009533,
0.046211935579776764,
0.03218961879611015,
-0.028604522347450256,
0.04502522200345993,
-0.029681434854865074,
0.0482785701751709,
0.... | 0.109186 |
all the roots, the trust domain ID, and the ID of the active root. Each "root" also includes the signing key/cert, and any intermediate certs in the chain. It is used (via the cache) by all the connect proxy types. ### Write Operations - `CAManager.UpdateConfiguration` - (via `RPC.ConnectCA.ConfigurationSet`) called by... | https://github.com/hashicorp/consul/blob/main//docs/service-mesh/ca/README.md | main | consul | [
-0.05469239875674248,
-0.06302261352539062,
-0.124427929520607,
-0.023987986147403717,
-0.018101602792739868,
-0.09472126513719559,
0.03476540744304657,
0.07002906501293182,
0.010446378961205482,
-0.006868569180369377,
0.06973069161176682,
0.028320012614130974,
0.05359802767634392,
-0.0045... | -0.007947 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.