Merge branch 'development' into feature/ipceicis-460-cnoe-deep-dive

This commit is contained in:
Stephan Lo 2024-10-01 13:29:36 +02:00
commit 9452f29c3f
2 changed files with 46 additions and 3 deletions

View file

@ -31,13 +31,51 @@ idpbuilder is /usr/local/bin/idpbuilder
idpbuilder version
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
$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
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" %}}
### What comes next?

View file

@ -14,6 +14,7 @@ Windows and Mac users already utilize a virtual machine for the Docker Linux env
- Docker Engine
- Go
- kubectl
- kind
### Build process
@ -32,7 +33,7 @@ The idpbuilder binary will be created in the current directory.
To start the idpbuilder binary execute the following command:
```
./idpbuilder create --use-path-routing --log-level debug --package-dir https://github.com/cnoe-io/stacks//ref-implementation
./idpbuilder create --use-path-routing --log-level debug --package https://github.com/cnoe-io/stacks//ref-implementation
```
### Logging into ArgoCD
@ -59,6 +60,10 @@ To see all running pods:
kubectl get pods -o wide
```
### Next steps
Follow this documentation: https://github.com/cnoe-io/stacks/tree/main/ref-implementation
### Delete the idpbuilder KIND cluster
The cluster can be deleted by executing: