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
### Step 5 -- Install the Codefresh Kubernetes Agent
147
-
148
-
The cf-k8s-agent is responsible for accessing Kubernetes resources (pods, deployments, services, etc.) behind the firewall in order to display them in the Codefresh UI. It can be installed in a separate cluster from the installer, or in a separate namespace in the same cluster.
149
-
150
-
The agent streams updates from cluster resources and then sends information updates to the `k8s-monitor` service.
151
-
152
-
Execute the following:
153
-
154
-
```
155
-
kcfi init k8s-agent
156
-
```
157
-
A staging directory will be created named k8s-agent with a `config.yaml`.
158
-
Edit k8s-agent/config.yaml and run:
159
-
160
-
```
161
-
kcfi deploy [ -c config.yaml ] [-n namespace]
162
-
```
163
-
164
146
165
147
## High-Availability (HA) with active-passive clusters
166
148
Enable high-availability in the Codefresh platform for disaster recovery with an active-passive cluster configuration.