You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This command installs Argo Workflows in the default namespace of your Kubernetes cluster.
19
20
20
-
### 2. Verify the Installation:
21
+
### 2. Verify the Installation
21
22
22
23
To check if the installation was successful, you can run:
23
24
@@ -27,11 +28,11 @@ kubectl get pods -n argo
27
28
28
29
You should see a list of pods running with names prefixed with `workflow-controller` and `argo-server`.
29
30
30
-
### 3. Patch argo-server authentication¶
31
+
### 3. Patch argo-server authentication
31
32
32
33
As reported on the official documentation: https://argo-workflows.readthedocs.io/en/latest/quick-start/#patch-argo-server-authentication
33
34
34
-
The argo-server (and thus the UI) defaults to client authentication, which requires clients to provide their Kubernetes bearer token to authenticate. For more information, refer to the Argo Server Auth Mode documentation. We will switch the authentication mode to server so that we can bypass the UI login for now:
35
+
The argo-server (and thus the UI) defaults to client authentication, which requires clients to provide their Kubernetes bearer token to authenticate. For more information, refer to the Argo Server Auth Mode documentation. We will switch the authentication mode to `server` so that we can bypass the UI login for now:
35
36
36
37
```bash
37
38
kubectl patch deployment \
@@ -44,7 +45,7 @@ kubectl patch deployment \
44
45
]}]'
45
46
```
46
47
47
-
### 4. Access Argo Workflows UI (Optional):
48
+
### 4. Access Argo Workflows UI (Optional)
48
49
49
50
Argo Workflows provides a web-based UI for managing and monitoring workflows. To access the UI, you need to expose it as a service:
50
51
@@ -58,7 +59,7 @@ Now you can access the Argo Workflows UI by navigating to `http://localhost:2746
58
59
59
60
> Add this privileges to the Argo service accounts are recommended only for demo purposes. **IT'S STRONGLY NOT RECOMMENDED TO REPLICATE THIS CONFIGURATION IN PRODUCTION EVINRONMENTS.**
60
61
61
-
This command adds `cluster-admin` clusterrole to `argo:argo-server` and `argo:default`. In this way Argo Workflow can managed every kind of resources in every namespaces of the cluster.
62
+
This command adds `cluster-admin` clusterrole to `argo:argo-server` and `argo:default`. In this way, Argo Workflow can manage every kind of resource in every namespace of the cluster.
This command create the secret that contains the credentials to push the Docker image to the registry:
78
+
This command creates the secret that contains the credentials to push the Docker image to the registry:
78
79
79
80
```bash
80
81
export DOCKER_USERNAME=******
@@ -92,7 +93,8 @@ kubectl apply -f ci.yaml
92
93
kubectl apply -f lang/go.yaml
93
94
kubectl apply -f cd.yaml
94
95
```
95
-
## Execution steps:
96
+
97
+
## Execution steps
96
98
97
99
With all prerequisites met and Argo Workflows successfully deployed and configured, you dive into the execution steps to start creating and managing workflows.
98
100
@@ -104,7 +106,7 @@ To submit the CI pipeline, you can use the [official APIs](https://argo-workflow
Or, alternatively, you can submit the workflow using the UI:
109
+
Alternatively, you can submit the workflow using the UI:
108
110
109
111

110
112
@@ -114,11 +116,11 @@ The CI pipeline performs these steps:
114
116
2.**Building Application**: Utilizes the GoLang template to compile the Go application.
115
117
3.**Building and Pushing Docker Image**: Packages the application into a Docker image and pushes it to the registry.
116
118
117
-
After the completion of all steps you can check the correct status of every step:
119
+
After the completion of all steps, you can check the correct status of every step:
118
120
119
121

120
122
121
-
If all steps have been successfully completed, you can find a new version of the Docker image in your registry.
123
+
If all steps have been completed, you can find a new version of the Docker image in your registry.
122
124
123
125
### 9. Submit the CD pipeline
124
126
@@ -137,15 +139,15 @@ The CD pipeline performs these steps:
137
139
1.**Preparing an ephemeral environment**: Prepares an ephemeral environment using vCluster where the user can test the application inside an isolated Kubernetes cluster
138
140
2.**Deploy the application**: Deploy the application Helm chart on the vCluster just created
139
141
140
-
After the completion of all steps you can check the correct status of every step:
142
+
After the completion of all steps, you can check the correct status of every step:
141
143
142
144

143
145
144
-
If all steps have been successfully completed, you can check the status of your application deployed on the vCluster just created
146
+
If all steps have been completed, you can check the status of your application deployed on the vCluster just created
145
147
146
148
### 10. Access to the application
147
149
148
-
To check how to access to the application deployed on vCluster, you can run this commands to list all vCluster and to access it:
150
+
To check how to access the application deployed on vCluster, you can run these commands to list all vCluster and to access it:
149
151
150
152
```bash
151
153
$ vcluster list
@@ -160,7 +162,7 @@ NAME READY STATUS RESTARTS AGE
As reported [here](https://www.vcluster.com/docs/using-vclusters/access) you can expose in different way the ephemeral vCluster created.
165
+
As reported [here](https://www.vcluster.com/docs/using-vclusters/access) you can expose in different ways the ephemeral vCluster created.
164
166
165
167
-**Via Ingress**: An Ingress Controller with SSL passthrough support will provide the best user experience, but there is a workaround if this feature is not natively supported.
166
168
@@ -169,9 +171,9 @@ As reported [here](https://www.vcluster.com/docs/using-vclusters/access) you can
169
171
- Emissary
170
172
171
173
Make sure your ingress controller is installed and healthy on the cluster that will host your virtual clusters. More details [here](https://www.vcluster.com/docs/using-vclusters/access#via-ingress)
172
-
-**Via LoadBalancer service**: The easiest way is to use the flag `--expose` in vcluster create to tell vCluster to use a LoadBalancer service. It depens on the specific implementation of host kubernetes cluster.
173
-
-**Via NodePort service**: You can also expose the vCluster via a NodePort service. In this case you have to create a NodePort service and change the `values.yaml` file to use for creation of the vCluster. More details [here](https://www.vcluster.com/docs/using-vclusters/access#via-nodeport-service)
174
-
-**From Host Cluster**: In order to access the virtual cluster from within the host cluster, you can directly connect to the vCluster service. Make sure you can access that service and then create a kube config in the following form:
174
+
-**Via LoadBalancer service**: The easiest way is to use the flag `--expose` in vcluster create to tell vCluster to use a LoadBalancer service. It depends on the specific implementation of the host Kubernetes cluster.
175
+
-**Via NodePort service**: You can also expose the vCluster via a NodePort service. In this case, you have to create a NodePort service and change the `values.yaml` file to use for the creation of the vCluster. More details [here](https://www.vcluster.com/docs/using-vclusters/access#via-nodeport-service)
176
+
-**From Host **Cluster**: To access the virtual cluster from within the host cluster, you can directly connect to the vCluster service. Make sure you can access that service and then create a kube config in the following form:
0 commit comments