mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
* feat(deploy): add a LaunchLayer deploy path that installs CAPLL deploy/nico installs NVKE with CAPNICo. deploy/launchlayer is the same path with CAPNICo swapped for CAPLL, so a site built with NVKE's own tooling can run its tenant clusters on LaunchLayer: - capll: a template item from CAPLL v0.1.0-rc.15's release asset, whose manager flags (base URL, per-service overrides, identity Secret) are rendered from the stack config, plus a Secret get grant in nvke-system, where NVKE writes the bootstrap Secrets CAPLL reads. - nvke-base-config renders launchlayer-credentials in capll-system in place of nico-credentials. - The controller accepts launchLayer, turns the NICo grant and controllers off, and attests nodes with dsxImds. - The items the two paths share are copies of deploy/nico, held to it by a test: a file both hold must be identical unless it is one of the four LaunchLayer changes, so a pin bump in deploy/nico that misses deploy/launchlayer fails. The stack config gains an optional launchLayer object, with the client secret from NVKECTL_LAUNCHLAYER_CLIENT_SECRET. Each provider's values are required by the path that installs it, so deploy/nico and every existing stack config are checked and rendered exactly as before. Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> * refactor(deploy): install CAPLL from its chart on the LaunchLayer path The capll item becomes a helm item installing CAPLL's published chart, after spire, in place of a copy of its release YAML. The manager's flags reach the chart as site values, and its values add the SPIFFE exec-auth plugin and workload API socket the CAPI controllers get, which CAPLL needs to read a tenant kubeconfig once nvkeOIDCAuth is on. capll-system joins the nvke-service SPIFFE identity, and the Secret get grant in nvke-system moves to nvke-base-config, bound to the chart's ServiceAccount. Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> * chore(deploy): pin CAPLL's chart to 0.2.0 on the LaunchLayer path 0.2.0 labels the manager app.kubernetes.io/name=cluster-api-provider-launchlayer, as CAPLL's release YAML does, so nvkectl get providers finds a chart install. Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> * chore(deploy): install NKTP from NGC on the LaunchLayer path Copies deploy/nico's nktp item, which #2237 moved to NGC's public chart. Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> * docs(deploy): make the LaunchLayer path's image requirements readable Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> * docs(deploy): trim comments on the LaunchLayer path Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> * docs(deploy): keep only the LaunchLayer-specific comments in its controller overlay The rest repeated deploy/nico's overlay, which the header now points to. Values are unchanged; the rendered chart is byte-identical. Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> --------- Signed-off-by: Meet Vadaria <mvadaria@nvidia.com>
127 lines
2.6 KiB
YAML
127 lines
2.6 KiB
YAML
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Settings shared with deploy/nico match deploy/nico/controller/overlay.yaml;
|
|
# see it for why each is set.
|
|
apiAuth:
|
|
enabled: false
|
|
permissive: false
|
|
|
|
# LaunchLayer only: no CAPNICo or NICo CRDs are installed.
|
|
supportedInfraProviders: launchLayer
|
|
capi:
|
|
rbac:
|
|
create: true
|
|
nico: false
|
|
controllers:
|
|
nico:
|
|
enabled: false
|
|
|
|
tenantAccess:
|
|
enabled: true
|
|
|
|
nvkeOIDCAuth:
|
|
enabled: false
|
|
issuerURL: "https://nke.site-controller.internal"
|
|
caBundleSecret:
|
|
namespace: spire-server
|
|
name: oidc-provider-upstream-ca
|
|
key: ca.crt
|
|
|
|
cni:
|
|
installAfterInit: true
|
|
|
|
fullnameOverride: nvke-controller
|
|
namespaceOverride: nvke-controller
|
|
nameOverride: nvke-controller
|
|
serviceAccount:
|
|
name: nvke-controller
|
|
|
|
nvkeSystemNamespace:
|
|
create: false
|
|
|
|
image:
|
|
repository: ghcr.io/dsx-ai-factory/nvke/nvke-controller
|
|
tag: v0.3.0-rc.1
|
|
pullPolicy: IfNotPresent
|
|
|
|
imagePullSecrets: []
|
|
|
|
metrics:
|
|
networkPolicy:
|
|
enabled: true
|
|
additionalNamespaces:
|
|
- nktp
|
|
serviceMonitor:
|
|
enabled: true
|
|
name: nvke-controller-metrics
|
|
tracing:
|
|
enabled: true
|
|
serviceName: nvke-controller
|
|
endpoint: nktp-daemonset-collector.nktp.svc.cluster.local:4317
|
|
insecure: true
|
|
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: http
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 20
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /readyz
|
|
port: http
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
|
|
appDb:
|
|
url: postgres-postgresql.postgres.svc.cluster.local:5432
|
|
dbName: nvke-controller
|
|
postgresUser: postgres
|
|
sslMode: disable
|
|
|
|
env:
|
|
- name: NODE_AGENT_PORT
|
|
value: "15005"
|
|
|
|
service:
|
|
port: 8080
|
|
nodePort: 30080
|
|
|
|
secrets:
|
|
dgxcTenantCredSecretName: dgxc-tenant-credentials
|
|
|
|
nodeAgent:
|
|
# LaunchLayer nodes attest only through DSX IMDS; operatorTenant is a site value.
|
|
spireAttestationMethod: dsxImds
|
|
|
|
temporal:
|
|
host: temporal-frontend.temporal.svc.cluster.local
|
|
port: 7233
|
|
cloudWorkflow:
|
|
namespace: nvke-controller
|
|
queue: nvke-controller-tasks
|
|
|
|
profiles:
|
|
path: /profiles
|
|
image:
|
|
enabled: true
|
|
|
|
spiffe:
|
|
enabled: true
|
|
endpointSocket: unix:///spiffe-workload-api/spire-agent.sock
|
|
spire:
|
|
serverNamespace: spire-server
|
|
className: spire-mgmt-spire
|
|
tpmPubhashesConfigMapName: tpm-pubhashes
|
|
serverPort: "30440"
|
|
|
|
identity:
|
|
fieldManagerName: nvke-controller
|
|
fieldManagerRebootMachineName: nvke-controller-reboot-machine
|
|
fieldManagerMachineHealthIssueName: nvke-controller-machine-health-issue
|
|
managedByLabelValue: nvke-controller
|
|
teleport:
|
|
managedByLabelValue: nvke-controller
|
|
tokenNamePrefix: nvke-controller-
|