Production¶
For production deployments, install Jumpstarter on a Kubernetes or OpenShift cluster using the Jumpstarter operator.
Prerequisites¶
A Kubernetes or OpenShift cluster
kubectl(oroc) configured for your clusterCluster-admin permissions (required to install CRDs and operator RBAC)
A DNS domain for Jumpstarter service endpoints (for example,
jumpstarter.example.com)An ingress controller on Kubernetes, or Routes on OpenShift
Note
spec.baseDomain creates these service hostnames with
jumpstarter.example.com:
grpc.jumpstarter.example.comrouter.jumpstarter.example.comlogin.jumpstarter.example.comtelemetry.jumpstarter.example.com(when telemetry is enabled and a Route or Ingress API is available)
Install¶
Install the Operator¶
Apply the operator installer from a release asset:
$ kubectl apply -f https://github.com/jumpstarter-dev/jumpstarter/releases/download/v0.8.1/operator-installer.yaml
$ kubectl wait --namespace jumpstarter-operator-system \
--for=condition=available deployment/jumpstarter-operator-controller-manager \
--timeout=120s
Alternatively, install via OLM or OperatorHub:
Install from OperatorHub. Requires OLM to be installed in your cluster.
Go to Operators -> OperatorHub in the web console.
Search for Jumpstarter Operator and install it.
Verify:
oc get csv -n openshift-operators | grep jumpstarter
Or via CLI subscription:
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: jumpstarter-operator
namespace: openshift-operators
spec:
channel: alpha
name: jumpstarter-operator
source: community-operators
sourceNamespace: openshift-marketplace
installPlanApproval: Automatic
Create a Namespace¶
$ kubectl create namespace jumpstarter-lab
Create a Jumpstarter Custom Resource¶
The operator reconciles the Jumpstarter CR and creates Deployments,
Services, and networking resources for controller/router/login
endpoints.
apiVersion: operator.jumpstarter.dev/v1alpha1
kind: Jumpstarter
metadata:
name: jumpstarter
namespace: jumpstarter-lab
spec:
baseDomain: jumpstarter.example.com
certManager:
enabled: true
controller:
image: quay.io/jumpstarter-dev/jumpstarter-controller:0.8.1-rc.2
imagePullPolicy: IfNotPresent
replicas: 1
grpc:
endpoints:
- address: grpc.jumpstarter.example.com:443
ingress:
enabled: true
class: nginx
login:
endpoints:
- address: login.jumpstarter.example.com:443
ingress:
enabled: true
class: nginx
routers:
image: quay.io/jumpstarter-dev/jumpstarter-controller:0.8.1-rc.2
imagePullPolicy: IfNotPresent
replicas: 1
grpc:
endpoints:
- address: router.jumpstarter.example.com:443
ingress:
enabled: true
class: nginx
apiVersion: operator.jumpstarter.dev/v1alpha1
kind: Jumpstarter
metadata:
name: jumpstarter
namespace: jumpstarter-lab
spec:
baseDomain: jumpstarter.example.com
certManager:
enabled: true
controller:
image: quay.io/jumpstarter-dev/jumpstarter-controller:0.8.1-rc.2
imagePullPolicy: IfNotPresent
replicas: 1
grpc:
endpoints:
- address: grpc.jumpstarter.example.com:443
route:
enabled: true
login:
endpoints:
- address: login.jumpstarter.example.com:443
route:
enabled: true
routers:
image: quay.io/jumpstarter-dev/jumpstarter-controller:0.8.1-rc.2
imagePullPolicy: IfNotPresent
replicas: 1
grpc:
endpoints:
- address: router.jumpstarter.example.com:443
route:
enabled: true
$ kubectl apply -f jumpstarter.yaml
Verify¶
$ kubectl get jumpstarter -n jumpstarter-lab
$ kubectl get deploy,svc,ingress -n jumpstarter-lab
$ kubectl get jumpstarter -n jumpstarter-lab
$ kubectl get deploy,svc,route -n jumpstarter-lab
Ensure DNS is configured so route hostnames resolve correctly.
Configuration¶
TLS and gRPC¶
Jumpstarter uses gRPC for communication, which requires HTTP/2 support. The operator configures TLS passthrough at the ingress or route for gRPC endpoints and edge TLS termination for login endpoints.
Note
When using ingress-nginx, enable
--enable-ssl-passthrough
on the ingress controller.
OAuth and OIDC¶
Configure through spec.authentication.jwt in the Jumpstarter CR. The
operator applies this to controller runtime settings but does
not install your identity provider. See
Authentication for examples.
Telemetry endpoints¶
Exporters and jmp shell connect directly to the telemetry gRPC endpoint
returned by the controller’s GetServiceEndpoints RPC. They do not tunnel
telemetry through the controller or router, so its DNS name and port must be
reachable from both clients and exporters, including those outside Kubernetes.
Enable telemetry with spec.telemetry.enabled: true. With spec.baseDomain set
and a Route or Ingress API available, the operator generates telemetry.<baseDomain>
and selects a Route on OpenShift or an Ingress on Kubernetes. Otherwise configure
explicit reachable endpoints, for example NodePort or LoadBalancer; there is no
implicit internal .svc fallback. Use the same endpoint fields as the controller:
spec:
baseDomain: jumpstarter.example.com
certManager:
enabled: true
telemetry:
enabled: true
grpc:
endpoints:
- address: telemetry.jumpstarter.example.com:443
ingress:
enabled: true
class: nginx
Replace ingress with route: {enabled: true} on OpenShift. Ingress and Route
use TLS passthrough, including for the long-lived exporter metrics stream.
Configure DNS to point at your ingress/router or external service address.
NodePort, LoadBalancer, and ClusterIP are also supported:
# Under spec.telemetry.grpc:
endpoints:
- address: telemetry.jumpstarter.example.com:30015
nodeport:
enabled: true
port: 30015
For a LoadBalancer use loadBalancer: {enabled: true, port: 443} and advertise
:443. The advertised port must match what the caller actually reaches; for
example, kind can map a NodePort to a different host port. Addresses without a
port default to 443. Use clusterIP: {enabled: true} when an externally managed
proxy exposes the Service; advertise the proxy’s reachable DNS name and port.
Explicit NodePorts must be unique across the controller, login, router replicas, and telemetry. Controller gRPC and login each support one enabled NodePort endpoint; routers and telemetry support multiple. Changing or reordering explicit NodePorts recreates the affected Services before assigning the ports, briefly interrupting their connections. Automatically allocated ports and suspended router Services are preserved.
The first configured address is advertised to callers; additional endpoints are
exposed and included in the certificate, but are not automatic client failover
targets. If no endpoint is configured and the operator cannot generate external
exposure, reconciliation fails with a configuration error rather than advertising
an internal .svc address or an unreachable hostname.
Cert-manager certificates include all configured endpoint hostnames. External
issuers omit the automatically added internal service names. Without cert-manager,
set spec.telemetry.grpc.tls.certSecret to a TLS Secret valid for the advertised
hostname; include ca.crt for a private CA. The controller supplies the CA and a
short-lived telemetry token to authenticated callers. Changing an advertised
address requires restarting existing callers to move their telemetry channels.
Only the TLS gRPC ingestion port is exposed. HTTP /metrics, /healthz, and
/readyz remain on the internal jumpstarter-telemetry ClusterIP service (port
8080). Removed endpoints and disabled networking methods are cleaned up by the
operator; disabling telemetry removes its exposure resources too.
cert-manager¶
Set spec.certManager.enabled: true for operator-managed certificates.
spec:
certManager:
enabled: true
server:
selfSigned:
enabled: true
Creates: <name>-selfsigned-issuer, <name>-ca, <name>-ca-issuer,
<name>-controller-tls, <name>-router-<replica>-tls.
spec:
certManager:
enabled: true
server:
issuerRef:
name: my-cluster-issuer
kind: ClusterIssuer
spec:
controller:
login:
endpoints:
- address: login.jumpstarter.example.com:443
ingress:
enabled: true
class: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
GitOps¶
Use the operator installer and manage your Jumpstarter CR
declaratively in GitOps flows.
Operator Behavior¶
If
spec.baseDomainis empty on OpenShift, the operator auto-detects the cluster domain.If no endpoint service type is enabled, the operator auto-selects: route, then ingress, then clusterIP.
Controller and router auth secrets persist across CR deletion/recreation.
Router replicas are one Deployment per replica;
$(replica)placeholders are substituted per replica.Router pods run as the
<name>-routerServiceAccount, which has no Role bound to it, and get no Kubernetes API token: they read their settings from thejumpstarter-controllerConfigMap, mounted as a file. Attach any image pull secret the router image needs to this ServiceAccount.
For the full Jumpstarter CRD field reference, see the
CRDs.