@@ -39,21 +39,38 @@ For the most bare-bones installation of the dataspace, execute the following com
39
39
` ` ` shell
40
40
# get the tutorial including the config file for the cluster by cloning the repository locally
41
41
git clone https://github.com/eclipse-tractusx/tutorial-resources.git
42
+ ```
43
+ ``` shell
42
44
# will install the mxd directory under <current working directory>/tutorial-resources/mxd
43
45
# the directory should contain the config file for kind: kind.config.yaml
44
46
cd < path/of/mxd>
47
+ ```
48
+
49
+ ``` shell
45
50
kind create cluster -n mxd --config kind.config.yaml
51
+ ```
52
+
53
+ ``` shell
46
54
#
47
55
# Now we activate ingress for the later port forwarding ?
48
56
# the next step is specific to KinD and will be different for other Kubernetes runtimes!
49
57
kubectl apply -f \
50
58
https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
59
+ ```
60
+
61
+ ``` shell
51
62
# wait until the ingress controller is ready
52
63
kubectl wait --namespace ingress-nginx \
53
64
--for=condition=ready pod \
54
65
--selector=app.kubernetes.io/component=controller \
55
66
--timeout=90s
67
+ ```
68
+
69
+ ``` shell
56
70
terraform init
71
+ ```
72
+
73
+ ``` shell
57
74
terraform apply
58
75
# type "yes" and press enter when prompted to do so
59
76
```
@@ -114,6 +131,9 @@ of simplicity we will use a plain Kubernetes port-forwarding:
114
131
``` shell
115
132
# find out about the names of your pods
116
133
kubectl get pods
134
+ ```
135
+
136
+ ``` shell
117
137
# you should see a list like:
118
138
NAME READY STATUS RESTARTS AGE
119
139
alice-tractusx-connector-controlplane-6f7555bcb7-mhxh6 1/1 Running 0 4m
@@ -125,10 +145,13 @@ bob-vault-0 1/1 Running 0
125
145
keycloak-6bdf4d7689-8mwfd 1/1 Running 0 4m58s
126
146
miw-574bf87bc-c4n6c 1/1 Running 0 4m58s
127
147
postgres-66677b8665-lxxp2 1/1 Running 0 5m14s
148
+ ```
149
+
150
+ ``` shell
128
151
#
129
152
# We will use the last entry for ingress for our port-forwarding, the name of the postgres pod will be slightly differnt in your local cluster.
130
153
# now we activtae the kuberntes port-forwarding:
131
- kubectl port-forward postgres-66677b8665-lxxp2 5432:5423
154
+ kubectl port-forward postgres-66677b8665-lxxp2 5432:5432
132
155
```
133
156
134
157
> Note that the actual pod name will be slightly different in your local cluster.
0 commit comments