-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[metrics] change prometheus to grafana-agent
Signed-off-by: Weifeng Wang <[email protected]> add k3d-k3s-config.yaml Signed-off-by: Weifeng Wang <[email protected]>
- Loading branch information
Showing
43 changed files
with
105,650 additions
and
9,156 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
TODO(qc) | ||
# Kubernetes | ||
|
||
``` shell | ||
k3d cluster create k3s-codelab --config k3d-k3s-config.yaml | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: k3d.io/v1alpha5 | ||
kind: Simple | ||
metadata: | ||
name: k3s-codelab | ||
servers: 1 | ||
agents: 1 | ||
kubeAPI: | ||
hostIP: "127.0.0.1" | ||
hostPort: "6550" | ||
image: rancher/k3s:v1.27.4-k3s1 | ||
ports: | ||
- port: 8080:80 | ||
nodeFilters: | ||
- loadbalancer | ||
- port: 8443:443 | ||
nodeFilters: | ||
- loadbalancer |
Oops, something went wrong.