Skip to content

Commit

Permalink
docs: Remove k8sapi executor docs
Browse files Browse the repository at this point in the history
Signed-off-by: William Van Hevelingen <[email protected]>

Part Of: argoproj#7802
  • Loading branch information
blkperl committed Mar 25, 2022
1 parent 1d373c4 commit c8411b7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
2 changes: 1 addition & 1 deletion docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ kubectl create clusterrolebinding YOURNAME-cluster-admin-binding --clusterrole=c
```

!!! note
To run Argo on GKE Autopilot, you must use the `emissary` executor or the `k8sapi` executor. Find more information on our [executors doc](workflow-executors.md).
To run Argo on GKE Autopilot, you must use the `emissary` executor. Find more information on our [executors doc](workflow-executors.md).

If you are running Argo Workflows locally (e.g. using Minikube or Docker for Desktop), open a port-forward so you can access the namespace:

Expand Down
1 change: 0 additions & 1 deletion docs/sidecar-injection.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Key:
|---|---|---|
| `docker` | Any | Unsupported |
| `emissary` | Any | KubectlExec |
| `k8sapi` | Shell | KubectlExec |
| `kubelet` | Shell | KubectlExec |
| `pns` | Any | Any |

Expand Down
2 changes: 1 addition & 1 deletion docs/workflow-controller-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ data:
# Specifies the container runtime interface to use (default: emissary)
# must be one of: docker, kubelet, k8sapi, pns, emissary
# must be one of: docker, kubelet, pns, emissary
# It has lower precedence than either `--container-runtime-executor` and `containerRuntimeExecutors`.
containerRuntimeExecutor: emissary

Expand Down
19 changes: 0 additions & 19 deletions docs/workflow-executors.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,25 +80,6 @@ The emissary will exit with code 64 if it fails. This may indicate a bug in the
* Configuration:
* Additional Kubelet configuration maybe needed

## Kubernetes API (k8sapi)

⚠️Deprecated.

* Reliability:
* Works on GKE Autopilot
* Most secure:
* No `privileged` access
* Cannot escape the privileges of the pod's service account
* Can [`runAsNonRoot`](workflow-pod-security-context.md)
* Least scalable:
* Log retrieval and container operations performed against the remote Kubernetes API
* Artifacts:
* Output artifacts must be saved on volumes (e.g. [emptyDir](empty-dir.md)) and not the base image layer (e.g. `/tmp`)
* Step/Task result:
* Warnings that normally goes to stderr will get captured in a step or a dag task's `outputs.result`. May require changes if your pipeline is conditioned on `steps/tasks.name.outputs.result`
* Configuration:
* No additional configuration needed.

## Process Namespace Sharing (pns)

* More secure:
Expand Down

0 comments on commit c8411b7

Please sign in to comment.