@@ -326,19 +326,19 @@ Now that we have written our component, let's compile it to see if it's generati
326326
327327[source,bash]
328328----
329- $ commodore component compile dependencies/fortune
329+ $ commodore component compile dependencies/fortune
330330Agent pid 9
331- Enter passphrase for /app/.ssh/id_rsa:
331+ Enter passphrase for /app/.ssh/id_rsa:
332332Identity added: /app/.ssh/id_rsa (user@domain.com)
333333Compile component fortune...
334334Updating Jsonnet libraries...
335335Compiling catalog...
336336 > Component compiled to /app/compiled/test
337337
338- $ ls compiled/test/fortune
338+ $ ls compiled/test/fortune
339339. .. deployment.yaml namespace.yaml service.yaml
340340
341- $ cat compiled/test/fortune/namespace.yaml
341+ $ cat compiled/test/fortune/namespace.yaml
342342apiVersion: v1
343343kind: Namespace
344344metadata:
@@ -420,10 +420,10 @@ We're ready! Now we just have to recompile both catalogs and push the changes. F
420420[source,bash]
421421----
422422$ kubectl --context minikube -n lieutenant get cluster
423- NAME DISPLAY NAME TENANT AGE
424- c-aged-cloud-4988 Kind cluster t-weathered-fire-7929 3m58s
425- c-late-cloud-248 K3s cluster t-weathered-fire-7929 8m24s
426- c-solitary-voice-5640 Minikube cluster t-weathered-fire-7929 10m
423+ NAME DISPLAY NAME TENANT AGE
424+ c-aged-cloud-4988 Kind cluster t-weathered-fire-7929 3m58s
425+ c-late-cloud-248 K3s cluster t-weathered-fire-7929 8m24s
426+ c-solitary-voice-5640 Minikube cluster t-weathered-fire-7929 10m
427427
428428$ commodore catalog compile c-solitary-voice-5640
429429Agent pid 9
@@ -514,6 +514,7 @@ For k3d:
514514[source,bash]
515515----
516516$ kubectl --context k3d-projectsyn -n syn-fortune port-forward svc/fortune-service 8081:3000
517+
517518$ curl http://localhost:8081 # in a different terminal
518519----
519520
@@ -536,7 +537,7 @@ We are done! You can now remove the clusters in your computer, and also remove t
536537
537538[source,bash]
538539----
539- $ ./5_delete.sh
540+ $ ./5_delete.sh
540541Switched to context "minikube".
541542===> Minikube running
542543===> Find Tenant ID
@@ -553,12 +554,12 @@ tenant.syn.tools "t-solitary-field-4017" deleted
553554🔥 Deleting container "minikube" ...
554555🔥 Removing /home/username/.minikube/machines/minikube ...
555556💀 Removed all traces of the "minikube" cluster.
556- INFO[0000] Deleting cluster 'projectsyn'
557- INFO[0002] Deleted k3d-projectsyn-server-0
558- INFO[0002] Deleting image volume 'k3d-projectsyn-images'
559- INFO[0002] Removing cluster details from default kubeconfig...
560- INFO[0002] Removing standalone kubeconfig file (if there is one)...
561- INFO[0002] Successfully deleted cluster projectsyn!
557+ INFO[0000] Deleting cluster 'projectsyn'
558+ INFO[0002] Deleted k3d-projectsyn-server-0
559+ INFO[0002] Deleting image volume 'k3d-projectsyn-images'
560+ INFO[0002] Removing cluster details from default kubeconfig...
561+ INFO[0002] Removing standalone kubeconfig file (if there is one)...
562+ INFO[0002] Successfully deleted cluster projectsyn!
562563----
563564
564565== Conclusion
0 commit comments