This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| apiVersion: mongodbcommunity.mongodb.com/v1 | |
| kind: MongoDBCommunity | |
| metadata: | |
| name: example-mongodb | |
| namespace: mongodb | |
| spec: | |
| members: 3 | |
| type: ReplicaSet | |
| version: "4.2.6" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: frontend | |
| spec: | |
| replicas: 2 | |
| selector: | |
| matchLabels: | |
| app: frontend | |
| template: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: monitoring.googleapis.com/v1 | |
| kind: PodMonitoring | |
| metadata: | |
| name: prom-example | |
| spec: | |
| selector: | |
| matchLabels: | |
| app: prom-example | |
| endpoints: | |
| - port: metrics |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Standard Job (1) | Container-based Job (2) | ||
|---|---|---|---|
| Self Hosted VM Agent(3) | O | O | |
| Self Hosted Container Agent(4) | O | X | |
| Microsoft-Hosted Agent(5) | O | O |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: skaffold/v2beta19 | |
| kind: Config | |
| build: | |
| tagPolicy: | |
| sha256: {} | |
| # defines where to find the code at build time and where to push the resulting image | |
| artifacts: | |
| - image: asia-east1-docker.pkg.dev/[PROJECT_NAME]/image-repos/hello-world-java-docker | |
| context: . | |
| googleCloudBuild: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: deploy.cloud.google.com/v1 | |
| kind: DeliveryPipeline | |
| metadata: | |
| name: hello-java | |
| description: Software Delivery Workshop Sample | |
| serialPipeline: | |
| stages: | |
| - targetId: uat | |
| profiles: | |
| - uat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| steps: | |
| - id: 'buildImage' | |
| name: 'gcr.io/k8s-skaffold/skaffold:v1.35.1' | |
| entrypoint: 'bash' | |
| args: | |
| - '-c' | |
| - | | |
| skaffold build --file-output /workspace/tags.json | |
| - id: 'container structural test' | |
| name: 'gcr.io/k8s-skaffold/skaffold:v1.35.1' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: shawn.user-guide.io/v1 | |
| kind: practitioner | |
| metadata: | |
| name: shawnho | |
| labels: | |
| nickname: dr.ho | |
| motto: show.but.dont.tell | |
| enjoy: sharing | |
| love: community | |
| spec: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coredns.yaml | |
| shawnho@workstation:~/dns$ kubectl get -n kube-system cm coredns-config -o yaml | |
| apiVersion: v1 | |
| data: | |
| Corefile: |- | |
| .:53 { | |
| errors | |
| health { | |
| lameduck 5s | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # cluster-dns.yaml | |
| apiVersion: networking.gke.io/v1alpha1 | |
| kind: ClusterDNS | |
| metadata: | |
| name: default | |
| spec: | |
| upstreamNameservers: | |
| - serverIP: 8.8.8.8 | |
| - serverIP: 8.8.4.4 | |
| domains: |