doc(conceptual-onbording): added some content of local cnoe hacking
This commit is contained in:
parent
c064c69494
commit
2ce9423caf
1 changed files with 40 additions and 2 deletions
|
|
@ -31,13 +31,51 @@ idpbuilder is /usr/local/bin/idpbuilder
|
||||||
idpbuilder version
|
idpbuilder version
|
||||||
idpbuilder 0.8.0-nightly.20240914 go1.22.7 linux/amd64
|
idpbuilder 0.8.0-nightly.20240914 go1.22.7 linux/amd64
|
||||||
|
|
||||||
|
# do some completion and aliasing
|
||||||
|
source <(idpbuilder completion bash)
|
||||||
|
alias ib=idpbuilder
|
||||||
|
complete -F __start_idpbuilder ib
|
||||||
|
|
||||||
# run
|
# run
|
||||||
$idpbuilder create --use-path-routing --log-level debug --package-dir https://github.com/cnoe-io/stacks//ref-implementation
|
$ib create --use-path-routing --log-level debug --package-dir https://github.com/cnoe-io/stacks//ref-implementation
|
||||||
```
|
```
|
||||||
|
|
||||||
## Show time steps
|
## Show time steps
|
||||||
|
|
||||||
tbc
|
> Goto https://cnoe.io/docs/reference-implementation/installations/idpbuilder/usage, and follow the flow
|
||||||
|
|
||||||
|
### Just run idpbuilder
|
||||||
|
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cat << EOF | kind create cluster --name localdev --config=-
|
||||||
|
# Kind kubernetes release images https://github.com/kubernetes-sigs/kind/releases
|
||||||
|
kind: Cluster
|
||||||
|
apiVersion: kind.x-k8s.io/v1alpha4
|
||||||
|
nodes:
|
||||||
|
- role: control-plane
|
||||||
|
image: "kindest/node:v1.30.0"
|
||||||
|
labels:
|
||||||
|
ingress-ready: "true"
|
||||||
|
extraPortMappings:
|
||||||
|
- containerPort: 443
|
||||||
|
hostPort: 8443
|
||||||
|
protocol: TCP
|
||||||
|
|
||||||
|
containerdConfigPatches:
|
||||||
|
- |-
|
||||||
|
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."gitea.cnoe.localtest.me:8443"]
|
||||||
|
endpoint = ["https://gitea.cnoe.localtest.me"]
|
||||||
|
[plugins."io.containerd.grpc.v1.cri".registry.configs."gitea.cnoe.localtest.me".tls]
|
||||||
|
insecure_skip_verify = true
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
kind create cluster --name localdev --config kind-config.yaml
|
||||||
|
|
||||||
|
# now idpbuilder reuses the already existing cluster
|
||||||
|
ib create
|
||||||
|
```
|
||||||
|
|
||||||
{{% pageinfo color="info" %}}
|
{{% pageinfo color="info" %}}
|
||||||
### What comes next?
|
### What comes next?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue