* build: bump the go-dependencies group across 8 directories with 12 updates Bumps the go-dependencies group with 12 updates in the / directory: | Package | From | To | | --- | --- | --- | | [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) | `4.1.7` | `4.1.9` | | [github.com/spf13/pflag](https://github.com/spf13/pflag) | `1.0.10` | `1.1.0` | | [golang.org/x/sync](https://github.com/golang/sync) | `0.24.0` | `0.25.0` | | [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) | `2.33.1` | `2.34.0` | | [github.com/caarlos0/env/v11](https://github.com/caarlos0/env) | `11.4.1` | `11.4.2` | | [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) | `1.14.52` | `1.14.53` | | [github.com/spiffe/spire-api-sdk](https://github.com/spiffe/spire-api-sdk) | `1.15.3` | `1.16.0` | | [github.com/spiffe/spire-controller-manager](https://github.com/spiffe/spire-controller-manager) | `0.8.0` | `0.8.1` | | go.temporal.io/api | `1.64.1` | `1.64.2` | | [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) | `4.0.0-rc.7` | `4.0.0` | | [github.com/osrg/gobgp/v4](https://github.com/osrg/gobgp) | `4.10.0` | `4.11.0` | | [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.307.0` | `0.311.0` | Bumps the go-dependencies group with 2 updates in the /auth directory: [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) and [golang.org/x/sync](https://github.com/golang/sync). Bumps the go-dependencies group with 1 update in the /cli directory: [github.com/spf13/pflag](https://github.com/spf13/pflag). Bumps the go-dependencies group with 8 updates in the /controller directory: | Package | From | To | | --- | --- | --- | | [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) | `4.1.7` | `4.1.9` | | [golang.org/x/sync](https://github.com/golang/sync) | `0.24.0` | `0.25.0` | | [github.com/caarlos0/env/v11](https://github.com/caarlos0/env) | `11.4.1` | `11.4.2` | | [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) | `1.14.52` | `1.14.53` | | [github.com/spiffe/spire-api-sdk](https://github.com/spiffe/spire-api-sdk) | `1.15.3` | `1.16.0` | | [github.com/spiffe/spire-controller-manager](https://github.com/spiffe/spire-controller-manager) | `0.8.0` | `0.8.1` | | go.temporal.io/api | `1.64.1` | `1.64.2` | | [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) | `4.0.0-rc.7` | `4.0.0` | Bumps the go-dependencies group with 3 updates in the /controller/nico-sim directory: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3), [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) and [github.com/osrg/gobgp/v4](https://github.com/osrg/gobgp). Bumps the go-dependencies group with 2 updates in the /controller/test/e2e directory: [golang.org/x/sync](https://github.com/golang/sync) and [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo). Bumps the go-dependencies group with 1 update in the /management-engine directory: [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo). Bumps the go-dependencies group with 2 updates in the /release directory: [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) and [google.golang.org/api](https://github.com/googleapis/google-api-go-client). Updates `github.com/go-jose/go-jose/v4` from 4.1.7 to 4.1.9 - [Release notes](https://github.com/go-jose/go-jose/releases) - [Commits](https://github.com/go-jose/go-jose/compare/v4.1.7...v4.1.9) Updates `github.com/spf13/pflag` from 1.0.10 to 1.1.0 - [Release notes](https://github.com/spf13/pflag/releases) - [Commits](https://github.com/spf13/pflag/compare/v1.0.10...v1.1.0) Updates `golang.org/x/sync` from 0.24.0 to 0.25.0 - [Commits](https://github.com/golang/sync/compare/v0.24.0...v0.25.0) Updates `github.com/onsi/ginkgo/v2` from 2.33.1 to 2.34.0 - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.33.1...v2.34.0) Updates `github.com/caarlos0/env/v11` from 11.4.1 to 11.4.2 - [Release notes](https://github.com/caarlos0/env/releases) - [Commits](https://github.com/caarlos0/env/compare/v11.4.1...v11.4.2) Updates `github.com/mattn/go-sqlite3` from 1.14.52 to 1.14.53 - [Release notes](https://github.com/mattn/go-sqlite3/releases) - [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.52...v1.14.53) Updates `github.com/spiffe/spire-api-sdk` from 1.15.3 to 1.16.0 - [Commits](https://github.com/spiffe/spire-api-sdk/compare/v1.15.3...v1.16.0) Updates `github.com/spiffe/spire-controller-manager` from 0.8.0 to 0.8.1 - [Release notes](https://github.com/spiffe/spire-controller-manager/releases) - [Changelog](https://github.com/spiffe/spire-controller-manager/blob/main/CHANGELOG.md) - [Commits](https://github.com/spiffe/spire-controller-manager/compare/v0.8.0...v0.8.1) Updates `go.temporal.io/api` from 1.64.1 to 1.64.2 Updates `go.yaml.in/yaml/v4` from 4.0.0-rc.7 to 4.0.0 - [Release notes](https://github.com/yaml/go-yaml/releases) - [Commits](https://github.com/yaml/go-yaml/compare/v4.0.0-rc.7...v4.0.0) Updates `github.com/osrg/gobgp/v4` from 4.10.0 to 4.11.0 - [Release notes](https://github.com/osrg/gobgp/releases) - [Commits](https://github.com/osrg/gobgp/compare/v4.10.0...v4.11.0) Updates `google.golang.org/api` from 0.307.0 to 0.311.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.307.0...v0.311.0) Updates `github.com/go-jose/go-jose/v4` from 4.1.7 to 4.1.9 - [Release notes](https://github.com/go-jose/go-jose/releases) - [Commits](https://github.com/go-jose/go-jose/compare/v4.1.7...v4.1.9) Updates `golang.org/x/sync` from 0.24.0 to 0.25.0 - [Commits](https://github.com/golang/sync/compare/v0.24.0...v0.25.0) Updates `github.com/spf13/pflag` from 1.0.10 to 1.1.0 - [Release notes](https://github.com/spf13/pflag/releases) - [Commits](https://github.com/spf13/pflag/compare/v1.0.10...v1.1.0) Updates `github.com/go-jose/go-jose/v4` from 4.1.7 to 4.1.9 - [Release notes](https://github.com/go-jose/go-jose/releases) - [Commits](https://github.com/go-jose/go-jose/compare/v4.1.7...v4.1.9) Updates `golang.org/x/sync` from 0.24.0 to 0.25.0 - [Commits](https://github.com/golang/sync/compare/v0.24.0...v0.25.0) Updates `github.com/caarlos0/env/v11` from 11.4.1 to 11.4.2 - [Release notes](https://github.com/caarlos0/env/releases) - [Commits](https://github.com/caarlos0/env/compare/v11.4.1...v11.4.2) Updates `github.com/mattn/go-sqlite3` from 1.14.52 to 1.14.53 - [Release notes](https://github.com/mattn/go-sqlite3/releases) - [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.52...v1.14.53) Updates `github.com/spiffe/spire-api-sdk` from 1.15.3 to 1.16.0 - [Commits](https://github.com/spiffe/spire-api-sdk/compare/v1.15.3...v1.16.0) Updates `github.com/spiffe/spire-controller-manager` from 0.8.0 to 0.8.1 - [Release notes](https://github.com/spiffe/spire-controller-manager/releases) - [Changelog](https://github.com/spiffe/spire-controller-manager/blob/main/CHANGELOG.md) - [Commits](https://github.com/spiffe/spire-controller-manager/compare/v0.8.0...v0.8.1) Updates `go.temporal.io/api` from 1.64.1 to 1.64.2 Updates `go.yaml.in/yaml/v4` from 4.0.0-rc.7 to 4.0.0 - [Release notes](https://github.com/yaml/go-yaml/releases) - [Commits](https://github.com/yaml/go-yaml/compare/v4.0.0-rc.7...v4.0.0) Updates `github.com/mattn/go-sqlite3` from 1.14.52 to 1.14.53 - [Release notes](https://github.com/mattn/go-sqlite3/releases) - [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.52...v1.14.53) Updates `go.yaml.in/yaml/v4` from 4.0.0-rc.7 to 4.0.0 - [Release notes](https://github.com/yaml/go-yaml/releases) - [Commits](https://github.com/yaml/go-yaml/compare/v4.0.0-rc.7...v4.0.0) Updates `github.com/osrg/gobgp/v4` from 4.10.0 to 4.11.0 - [Release notes](https://github.com/osrg/gobgp/releases) - [Commits](https://github.com/osrg/gobgp/compare/v4.10.0...v4.11.0) Updates `golang.org/x/sync` from 0.24.0 to 0.25.0 - [Commits](https://github.com/golang/sync/compare/v0.24.0...v0.25.0) Updates `github.com/onsi/ginkgo/v2` from 2.33.1 to 2.34.0 - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.33.1...v2.34.0) Updates `github.com/onsi/ginkgo/v2` from 2.33.1 to 2.34.0 - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.33.1...v2.34.0) Updates `github.com/onsi/ginkgo/v2` from 2.33.1 to 2.34.0 - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.33.1...v2.34.0) Updates `google.golang.org/api` from 0.307.0 to 0.311.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.307.0...v0.311.0) --- updated-dependencies: - dependency-name: github.com/go-jose/go-jose/v4 dependency-version: 4.1.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/spf13/pflag dependency-version: 1.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: golang.org/x/sync dependency-version: 0.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.34.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/caarlos0/env/v11 dependency-version: 11.4.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/mattn/go-sqlite3 dependency-version: 1.14.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/spiffe/spire-api-sdk dependency-version: 1.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/spiffe/spire-controller-manager dependency-version: 0.8.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: go.temporal.io/api dependency-version: 1.64.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: go.yaml.in/yaml/v4 dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/osrg/gobgp/v4 dependency-version: 4.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: google.golang.org/api dependency-version: 0.311.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/go-jose/go-jose/v4 dependency-version: 4.1.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: golang.org/x/sync dependency-version: 0.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/spf13/pflag dependency-version: 1.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/go-jose/go-jose/v4 dependency-version: 4.1.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: golang.org/x/sync dependency-version: 0.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/caarlos0/env/v11 dependency-version: 11.4.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/mattn/go-sqlite3 dependency-version: 1.14.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/spiffe/spire-api-sdk dependency-version: 1.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/spiffe/spire-controller-manager dependency-version: 0.8.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: go.temporal.io/api dependency-version: 1.64.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: go.yaml.in/yaml/v4 dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/mattn/go-sqlite3 dependency-version: 1.14.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: go.yaml.in/yaml/v4 dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/osrg/gobgp/v4 dependency-version: 4.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: golang.org/x/sync dependency-version: 0.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.34.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.34.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.34.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: google.golang.org/api dependency-version: 0.311.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * chore: regenerate third-party notices for dependency bumps Signed-off-by: Terry Howe <thowe@nvidia.com> * chore: regenerate workspace sums and nvkectl reference for dependency bumps Signed-off-by: Terry Howe <thowe@nvidia.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Terry Howe <thowe@nvidia.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Terry Howe <thowe@nvidia.com>
6.4 KiB
Generated file -- do not edit. This page is written from the nvkectl command tree in
cli/internal/nvkectl. To change what it says, change the command's own metadata -- its Short, Long, Example, Args, Aliases, deprecation notice or flag usage strings -- and runmake -C cli docs. An edit made here is lost on the next run, andmake -C cli docs-checkfails until the committed pages match the tree again.
nvkectl bootstrap site
Bootstrap a new NVKE management cluster from a site spec file
Required options
--sitespec
Synopsis
Bootstrap a vanilla Kubernetes cluster from the nodes described by the site spec file passed with -f/--sitespec: pre-provisioned hosts it lists (infra.provider provisioned, the default), or machines CAPNICo allocates from a NICo site (infra.provider nico).
The site spec file is loaded and validated first. On any invalid or missing field the command fails immediately with a clear error, before any workflow is dispatched or any node is touched.
The bootstrap side-loads the images this repository builds, nke-controller:latest and, with the provisioned provider, cluster-api-provider-provisioned:latest, which "make -C cli images" builds. With nico, CAPNICo's image is public and pulled by the cluster; --release pins it to an NVKR release's artifact. --nvke-controller-image and --provisioned-provider-image, or NVKECTL_NVKE_CONTROLLER_IMAGE and NVKECTL_CAPI_PROVISIONED_IMAGE, name other images, such as ones pushed to a registry; a flag wins over its variable. cli/README.md lists every NVKECTL_* variable.
Every node becomes a control-plane node. Once the cluster is up, the control-plane NoSchedule taint is removed from each node so workloads can run.
With nico, infra.nico names the NICo and the MachineImage and ClusterRelease manifests the controller needs; the NICo token is read from the file the NVKECTL_NICO_CREDENTIALS variable names; the login rendered into every node comes from NVKECTL_NODE_USER and NVKECTL_NODE_PASSWORD; and spire.externalAddress is required unless --disable-mtls is set. The nodes' names and addresses are not printed; read them with "kubectl get nodes -o wide" on the finished cluster.
See the bundled examples/sitespec.yaml and docs/sitespec.md for the site spec file format.
nvkectl bootstrap site [flags]
Examples
# Validate and bootstrap from a site spec file
nvkectl bootstrap site -f sitespec.yaml
# Validate only — load, check, and print the site spec without dispatching
nvkectl bootstrap site -f sitespec.yaml --dry-run
# Deploy images you pushed to a registry instead of the local build
nvkectl bootstrap site -f sitespec.yaml \
--nvke-controller-image nvcr.io/<org>/nvke-controller:edge \
--provisioned-provider-image nvcr.io/<org>/cluster-api-provider-provisioned:edge
# Export this run's spans and log records to a collector the cluster can reach
nvkectl bootstrap site -f sitespec.yaml --otlp-endpoint collector.example.com:4317
Options
--allow-control-plane-without-vip[=true|false] Permit a multi-node control plane without a VIP and enable the override in the temporary NVKE controller. Development only; replacing the initializing node can break API access.
--arch string Architecture of the release artifact to use, linux/amd64 or linux/arm64; default: the bootstrap host's, since the bootstrap CAPNICo runs in its Kind cluster. Only with --release.
--diagnostics-dir string Directory a failed bootstrap writes cluster diagnostics to before tearing the cluster down. With --verbose a successful bootstrap writes them too. Overrides NVKECTL_BOOTSTRAP_DIAGNOSTICS_DIR. (default "cluster-diagnostics")
--disable-mtls[=true|false] Stand the site up without SPIFFE: no SPIRE, and the controller dials node agents in plaintext. The agents must be running with --disable-mtls too. Development only.
--dry-run[=true|false] Load and validate the site spec and print it, but do not dispatch any workflow
--encryption-key-out string Where to write the finished cluster's etcd encryption key, as a Secret manifest (default: <clusterName>-etcd-encryption-key.json in the working directory)
-h, --help[=true|false] help for site
--keep-bootstrap-cluster[=true|false] Leave the ephemeral bootstrap Kind cluster running after the command exits, for debugging
--kubeconfig-out string Where to write the finished cluster's admin breakglass kubeconfig (default: <clusterName>.kubeconfig in the working directory)
--nvke-controller-image string NVKE controller image to deploy (overrides NVKECTL_NVKE_CONTROLLER_IMAGE and the manifest default)
--otlp-endpoint string OTLP/gRPC endpoint, a host:port or an http(s):// URL (http implies --otlp-insecure), that receives this run's spans and log records. The temporary controller in the bootstrap cluster exports there too, so a loopback address is rejected
--otlp-insecure[=true|false] Send to --otlp-endpoint without TLS; requires --otlp-endpoint
--provisioned-provider-image string Provisioned-provider image to deploy (overrides NVKECTL_CAPI_PROVISIONED_IMAGE and the manifest default)
--release string NVKR release description whose capnico-controller artifact replaces the bootstrap CAPNICo image with its pinned digest, as "render deploy-path --release" does for the management cluster's CAPNICo. The release description is not verified: run "nvkr release verify" on the same reference first. Only with infra.provider nico.
-f, --sitespec string Path to the site spec YAML file (required)
--timeout duration How long to wait for the cluster to finish provisioning, which includes every control plane node joining. Overrides NVKECTL_BOOTSTRAP_CLUSTER_TIMEOUT. (default 30m0s)
Options inherited from parent commands
--json-logs[=true|false] Emit logs as JSON
--site string Override the active site for this invocation
-v, --verbose[=true|false] Enable debug logging
SEE ALSO
- nvkectl bootstrap - Bootstrap NVKE clusters from a declarative site spec