2020-11-15 21:42:02 +00:00
---
title: Manual Outpost deployment on Kubernetes
---
Use the following manifest, replacing all values surrounded with `__` .
2020-12-05 21:08:42 +00:00
Afterwards, configure the proxy provider to connect to `<service name>.<namespace>.svc.cluster.local` , and update your Ingress to connect to the `authentik-outpost` service.
2020-11-15 21:42:02 +00:00
```yaml
apiVersion: v1
kind: Secret
metadata:
labels:
app.kubernetes.io/instance: test
2020-12-05 21:08:42 +00:00
app.kubernetes.io/managed-by: goauthentik.io
app.kubernetes.io/name: authentik-proxy
2020-11-15 21:42:02 +00:00
app.kubernetes.io/version: 0.10.0
2020-12-05 21:08:42 +00:00
name: authentik-outpost-api
2020-11-15 21:42:02 +00:00
stringData:
2020-12-05 21:08:42 +00:00
authentik_host: "__AUTHENTIK_URL__"
authentik_host_insecure: "true"
token: "__AUTHENTIK_TOKEN__"
2020-11-15 21:42:02 +00:00
type: Opaque
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: test
2020-12-05 21:08:42 +00:00
app.kubernetes.io/managed-by: goauthentik.io
app.kubernetes.io/name: authentik-proxy
2020-11-15 21:42:02 +00:00
app.kubernetes.io/version: 0.10.0
2020-12-05 21:08:42 +00:00
name: authentik-outpost
2020-11-15 21:42:02 +00:00
spec:
ports:
- name: http
port: 4180
protocol: TCP
targetPort: http
- name: https
port: 4443
protocol: TCP
targetPort: https
selector:
app.kubernetes.io/instance: test
2020-12-05 21:08:42 +00:00
app.kubernetes.io/managed-by: goauthentik.io
app.kubernetes.io/name: authentik-proxy
2020-11-15 21:42:02 +00:00
app.kubernetes.io/version: 0.10.0
type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/instance: test
2020-12-05 21:08:42 +00:00
app.kubernetes.io/managed-by: goauthentik.io
app.kubernetes.io/name: authentik-proxy
2020-11-15 21:42:02 +00:00
app.kubernetes.io/version: 0.10.0
2020-12-05 21:08:42 +00:00
name: authentik-outpost
2020-11-15 21:42:02 +00:00
spec:
selector:
matchLabels:
app.kubernetes.io/instance: test
2020-12-05 21:08:42 +00:00
app.kubernetes.io/managed-by: goauthentik.io
app.kubernetes.io/name: authentik-proxy
2020-11-15 21:42:02 +00:00
app.kubernetes.io/version: 0.10.0
template:
metadata:
labels:
app.kubernetes.io/instance: test
2020-12-05 21:08:42 +00:00
app.kubernetes.io/managed-by: goauthentik.io
app.kubernetes.io/name: authentik-proxy
2020-11-15 21:42:02 +00:00
app.kubernetes.io/version: 0.10.0
spec:
containers:
- env:
2020-12-05 21:08:42 +00:00
- name: AUTHENTIK_HOST
2020-11-15 21:42:02 +00:00
valueFrom:
secretKeyRef:
2020-12-05 21:08:42 +00:00
key: authentik_host
name: authentik-outpost-api
- name: AUTHENTIK_TOKEN
2020-11-15 21:42:02 +00:00
valueFrom:
secretKeyRef:
key: token
2020-12-05 21:08:42 +00:00
name: authentik-outpost-api
- name: AUTHENTIK_INSECURE
2020-11-15 21:42:02 +00:00
valueFrom:
secretKeyRef:
2020-12-05 21:08:42 +00:00
key: authentik_host_insecure
name: authentik-outpost-api
image: beryju/authentik-proxy:0.10.0-stable
2020-11-15 21:42:02 +00:00
name: proxy
ports:
- containerPort: 4180
name: http
protocol: TCP
- containerPort: 4443
name: https
protocol: TCP
```