This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.istio.io/v1beta1 | |
kind: WorkloadEntry | |
metadata: | |
name: details-svc | |
spec: | |
# use of the service account indicates that the workload has a | |
# sidecar proxy bootstrapped with this service account. Pods with | |
# sidecars will automatically communicate with the workload using | |
# istio mutual TLS. | |
serviceAccount: details-legacy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# podinfo.yaml | |
--- | |
apiVersion: helm.fluxcd.io/v1 | |
kind: HelmRelease | |
metadata: | |
name: podinfo | |
namespace: default | |
spec: | |
chart: | |
repository: https://stefanprodan.github.io/podinfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 | |
kind: Kustomization | |
metadata: | |
name: webapp-common | |
namespace: flux-system | |
spec: | |
interval: 1h0m0s | |
path: ./deploy/webapp/common | |
prune: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: source.toolkit.fluxcd.io/v1beta1 | |
kind: GitRepository | |
metadata: | |
name: webapp | |
namespace: flux-system | |
spec: | |
interval: 30s | |
ref: | |
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ flux bootstrap github \ | |
--owner=$GITHUB_USER \ | |
--repository=fleet-infra \ | |
--branch=main \ | |
--path=staging-cluster \ | |
--personal | |
► connecting to github.com | |
✔ repository created | |
✔ repository cloned | |
✚ generating manifests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: openebs.io/v1alpha1 | |
kind: BlockDevice | |
metadata: | |
annotations: | |
internal.openebs.io/uuid-scheme: gpt | |
creationTimestamp: "2020-11-02T09:17:41Z" | |
generation: 5 | |
labels: | |
kubernetes.io/hostname: k8s02 | |
ndm.io/blockdevice-type: blockdevice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
name: ingress-myservicea | |
annotations: | |
# use the shared ingress-nginx | |
kubernetes.io/ingress.class: "nginx" | |
spec: | |
rules: | |
- host: myservicea.foo.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LAST DEPLOYED: Fri Oct 30 17:05:31 2020 | |
NAMESPACE: default | |
STATUS: deployed | |
REVISION: 1 | |
TEST SUITE: None | |
NOTES: | |
The ingress-nginx controller has been installed. | |
It may take a few minutes for the LoadBalancer IP to be available. | |
You can watch the status by running 'kubectl --namespace default get services -o wide -w my-release-ingress-nginx-controller' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function KubeObj(name, kind) { | |
return { | |
"name": name, | |
"kind": kind, | |
sayHello: function() { | |
console.log(`Hello from ${this.name}`) | |
}, | |
} | |
} |
NewerOlder