Reference / experimental
tailscale
These docs describe Kix's main branch, which can include changes not yet released. Read the docs for the latest release.
Tailscale Kubernetes operator: exposes Services and Ingresses on a tailnet and runs subnet routers, egress proxies, and API server proxies from tailscale.com resources
This page is generated from kix/packages/experimental/tailscale.
| Stability | Experimental |
package value | packages.experimental.tailscale |
| Default software version | 1.104.7 |
| Default aliases | tailscale |
| Highest availability level | none |
Dependencies
Section titled “Dependencies”Kix matches each dependency below to another package instance by instance name, alias, or role. To bind a specific instance, set deps.<name> in your cluster definition. See Declaring dependencies for how required and optional dependencies work.
| Dependency | Requirement |
|---|---|
oauthCredentials | Required |
prometheus | Optional |
Options
Section titled “Options”connectors
Section titled “connectors”Connector custom resources, keyed by name, each as its spec. proxyClass names a key of proxyClasses; build Connectors that reference an external ProxyClass with out.mkConnector.
- Type:
attribute set of (open submodule of attribute set of anything) - Default:
{ }
connectors.<name>.proxyClass
Section titled “connectors.<name>.proxyClass”Key of proxyClasses whose ProxyClass the Connector uses.
- Type:
null or string - Default:
null
defaultProxyClass
Section titled “defaultProxyClass”ProxyClass for proxies that name none (PROXY_DEFAULT_CLASS). Must be a key of proxyClasses.
- Type:
null or string - Default:
null
Upstream operator variables such as OPERATOR_HOSTNAME, OPERATOR_INITIAL_TAGS, PROXY_TAGS, PROXY_FIREWALL_MODE, OPERATOR_LOGGING, TS_NO_LOGS_NO_SUPPORT, and OPERATOR_LOGIN_SERVER (an https URL on port 443). A value is a string, a fieldRef source, or a secretKeyRef source naming a Secret managed outside Kix with kix.untrackedRef. The OAuth client comes from the oauthCredentials dependency. Variables the package sets or does not support are refused.
- Type:
attribute set of (null or string or env var source with `valueFrom`) - Default:
{ }
Image of the operator. Its major.minor must match the vendored CRDs and RBAC. Each operand image defaults to this repository with its own last path segment (docker.io/tailscale/<name>) and to this tag.
-
Type:
submodule -
Default:
1{2digest = "sha256:51ba104ff02afcc39f93189415c8b2f44fb6037e8592d626bfa52c3c8afc02f6";3pullPolicy = "IfNotPresent";4repository = "docker.io/tailscale/k8s-operator";5tag = "v1.104.7";6}
image.digest
Section titled “image.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
image.note
Section titled “image.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
image.promotedBy
Section titled “image.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
image.pullPolicy
Section titled “image.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
image.repository
Section titled “image.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/tailscale/k8s-operator"
image.resolvedAt
Section titled “image.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
image.sourceRev
Section titled “image.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
image.tag
Section titled “image.tag”Image tag. What was asked for.
- Type:
string - Default:
"v1.104.7"
metrics.enabled
Section titled “metrics.enabled”Enable metrics endpoint and monitoring resources (ServiceMonitor, PrometheusRules) when prometheus is available.
- Type:
boolean - Default:
true
metrics.interval
Section titled “metrics.interval”Scrape interval (e.g. ”30s”). Null = use Prometheus default.
- Type:
null or string - Default:
null
operandImages.k8s-nameserver
Section titled “operandImages.k8s-nameserver”Default nameserver image of out.mkDNSConfig. Listed in out.extraImages. DNSConfig has no pull policy field, so pullPolicy must stay null.
-
Type:
submodule -
Default:
1{2digest = "sha256:9b0685a4dd89742043084affa56fbda04f56b348d6cd9a8a23105a24ed3ebb39";3pullPolicy = null;4repository = "docker.io/tailscale/k8s-nameserver";5tag = config.image.tag;6}
operandImages.k8s-nameserver.digest
Section titled “operandImages.k8s-nameserver.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
operandImages.k8s-nameserver.note
Section titled “operandImages.k8s-nameserver.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
operandImages.k8s-nameserver.promotedBy
Section titled “operandImages.k8s-nameserver.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
operandImages.k8s-nameserver.pullPolicy
Section titled “operandImages.k8s-nameserver.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
null
operandImages.k8s-nameserver.repository
Section titled “operandImages.k8s-nameserver.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/tailscale/k8s-nameserver"
operandImages.k8s-nameserver.resolvedAt
Section titled “operandImages.k8s-nameserver.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
operandImages.k8s-nameserver.sourceRev
Section titled “operandImages.k8s-nameserver.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
operandImages.k8s-nameserver.tag
Section titled “operandImages.k8s-nameserver.tag”Image tag. What was asked for.
- Type:
string - Default:
config.image.tag
operandImages.k8s-proxy
Section titled “operandImages.k8s-proxy”Image of the kube-apiserver ProxyGroup proxies (K8S_PROXY_IMAGE). Listed in out.extraImages. The operator sets their pull policy, so pullPolicy must stay null.
-
Type:
submodule -
Default:
1{2digest = "sha256:bb86ef8c98ea071612926f766c6f461f3ac22788a3d862397012f423a581bcb8";3pullPolicy = null;4repository = "docker.io/tailscale/k8s-proxy";5tag = config.image.tag;6}
operandImages.k8s-proxy.digest
Section titled “operandImages.k8s-proxy.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
operandImages.k8s-proxy.note
Section titled “operandImages.k8s-proxy.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
operandImages.k8s-proxy.promotedBy
Section titled “operandImages.k8s-proxy.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
operandImages.k8s-proxy.pullPolicy
Section titled “operandImages.k8s-proxy.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
null
operandImages.k8s-proxy.repository
Section titled “operandImages.k8s-proxy.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/tailscale/k8s-proxy"
operandImages.k8s-proxy.resolvedAt
Section titled “operandImages.k8s-proxy.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
operandImages.k8s-proxy.sourceRev
Section titled “operandImages.k8s-proxy.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
operandImages.k8s-proxy.tag
Section titled “operandImages.k8s-proxy.tag”Image tag. What was asked for.
- Type:
string - Default:
config.image.tag
operandImages.tailscale
Section titled “operandImages.tailscale”Image of the proxies the operator creates (PROXY_IMAGE). Listed in out.extraImages. The operator sets their pull policy, so pullPolicy must stay null.
-
Type:
submodule -
Default:
1{2digest = "sha256:72c1e19e0aedca96b8533bbb0b4368564410ff20b17e53b804eb6c1f04a31be4";3pullPolicy = null;4repository = "docker.io/tailscale/tailscale";5tag = config.image.tag;6}
operandImages.tailscale.digest
Section titled “operandImages.tailscale.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
operandImages.tailscale.note
Section titled “operandImages.tailscale.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
operandImages.tailscale.promotedBy
Section titled “operandImages.tailscale.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
operandImages.tailscale.pullPolicy
Section titled “operandImages.tailscale.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
null
operandImages.tailscale.repository
Section titled “operandImages.tailscale.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/tailscale/tailscale"
operandImages.tailscale.resolvedAt
Section titled “operandImages.tailscale.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
operandImages.tailscale.sourceRev
Section titled “operandImages.tailscale.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
operandImages.tailscale.tag
Section titled “operandImages.tailscale.tag”Image tag. What was asked for.
- Type:
string - Default:
config.image.tag
operandImages.tsrecorder
Section titled “operandImages.tsrecorder”Default image and pull policy of out.mkRecorder. Listed in out.extraImages.
-
Type:
submodule -
Default:
1{2digest = "sha256:2d141b9088627d111bcae66c500d4e1afea46715f3dd40c007d1d8353a4afcc3";3pullPolicy = "IfNotPresent";4repository = "docker.io/tailscale/tsrecorder";5tag = config.image.tag;6}
operandImages.tsrecorder.digest
Section titled “operandImages.tsrecorder.digest”Resolved manifest digest, sha256: followed by 64 hex characters. What will actually run. Null means not resolved.
- Type:
null or string - Default: the package’s digest while
tagis the package’s tag, otherwise null
operandImages.tsrecorder.note
Section titled “operandImages.tsrecorder.note”Whatever a person wanted to say about this pin. Kix never reads it and a promotion never discards it. Declared here for the same reason as the three fields above: a pin carries its own record-keeping, and the option accepts the whole pin rather than a subset of it.
- Type:
null or string - Default:
null
operandImages.tsrecorder.promotedBy
Section titled “operandImages.tsrecorder.promotedBy”Who resolved this pin, for the record. Null when unknown.
- Type:
null or string - Default:
null
operandImages.tsrecorder.pullPolicy
Section titled “operandImages.tsrecorder.pullPolicy”imagePullPolicy for containers using this image. Null leaves it to Kubernetes.
- Type:
null or string - Default:
"IfNotPresent"
operandImages.tsrecorder.repository
Section titled “operandImages.tsrecorder.repository”Image repository, registry host included.
- Type:
string - Default:
"docker.io/tailscale/tsrecorder"
operandImages.tsrecorder.resolvedAt
Section titled “operandImages.tsrecorder.resolvedAt”When this pin was resolved, RFC 3339. Null when unknown.
- Type:
null or string - Default:
null
operandImages.tsrecorder.sourceRev
Section titled “operandImages.tsrecorder.sourceRev”Revision of the source the image was built from, when Kix built it. Null for upstream images.
- Type:
null or string - Default:
null
operandImages.tsrecorder.tag
Section titled “operandImages.tsrecorder.tag”Image tag. What was asked for.
- Type:
string - Default:
config.image.tag
proxyClasses
Section titled “proxyClasses”ProxyClass custom resources, keyed by name, each as its spec. Applied once the operator runs.
- Type:
attribute set of attribute set of anything - Default:
{ }
resources
Section titled “resources”Container resource requests and limits. Each field keeps its default until set, and null removes a default.
-
Type:
submodule -
Default:
1{2limits = {3cpu = "2";4memory = "1Gi";5};6requests = {7cpu = "100m";8memory = "128Mi";9};10}
resources.claims
Section titled “resources.claims”Dynamic resource claims the container uses. Null leaves it unset.
- Type:
null or (list of (submodule)) - Default:
null
resources.claims.*.name
Section titled “resources.claims.*.name”Name of an entry in the pod’s resourceClaims.
- Type:
string
resources.claims.*.request
Section titled “resources.claims.*.request”Request within the claim to use. Null uses the whole claim.
- Type:
null or string - Default:
null
resources.limits
Section titled “resources.limits”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
resources.limits.cpu
Section titled “resources.limits.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"2"
resources.limits.ephemeral-storage
Section titled “resources.limits.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
resources.limits.memory
Section titled “resources.limits.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"1Gi"
resources.requests
Section titled “resources.requests”Resource quantities by name.
- Type:
open submodule of attribute set of Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
{ }
resources.requests.cpu
Section titled “resources.requests.cpu”The cpu quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"100m"
resources.requests.ephemeral-storage
Section titled “resources.requests.ephemeral-storage”The ephemeral-storage quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
null
resources.requests.memory
Section titled “resources.requests.memory”The memory quantity. Null leaves it unset.
- Type:
null or Kubernetes quantity, such as "500m" or "1Gi" (a non-negative decimal or integer with an optional suffix m, k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi or Ei) - Default:
"128Mi"