Skip to content

Commit

Permalink
Merge pull request #258 from ArangoGutierrez/v025
Browse files Browse the repository at this point in the history
Release V0.2.5
  • Loading branch information
ArangoGutierrez authored Jan 16, 2025
2 parents 514c360 + add84e4 commit b0f8bf7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,13 @@ release:
@for os in linux darwin; do \
for arch in amd64 arm64; do \
echo "Building $$os-$$arch"; \
GOOS=$$os GOARCH=$$arch $(GO_CMD) build -o bin/$(BINARY_NAME)-$$os-$$arch cmd/main.go; \
GOOS=$$os GOARCH=$$arch $(GO_CMD) build -o bin/$(BINARY_NAME)-action-$$os-$$arch cmd/action/main.go; \
done; \
done
@for os in linux darwin; do \
for arch in amd64 arm64; do \
echo "Building $$os-$$arch"; \
GOOS=$$os GOARCH=$$arch $(GO_CMD) build -o bin/$(BINARY_NAME)-$$os-$$arch cmd/cli/main.go; \
done; \
done

Expand Down
8 changes: 4 additions & 4 deletions pkg/provisioner/templates/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ echo "ssh -i <your-private-key> ubuntu@${INSTANCE_ENDPOINT_HOST}"
// Default Versions
const (
defaultArch = "amd64"
defaultKubernetesVersion = "v1.31.1"
defaultKubernetesVersion = "v1.32.1"
defaultKubeletReleaseVersion = "v0.17.1"
defaultCNIPluginsVersion = "v1.6.0"
defaultCNIPluginsVersion = "v1.6.2"
defaultCRIVersion = "v1.31.1"
defaultCalicoVersion = "v3.29.0"
defaultCalicoVersion = "v3.29.1"
)

type Kubernetes struct {
Expand All @@ -199,7 +199,7 @@ func NewKubernetes(env v1alpha1.Environment) (*Kubernetes, error) {
// check if env.Spec.Kubernetes.KubernetesVersion is in the format of vX.Y.Z
// if not, set the default version
if !strings.HasPrefix(env.Spec.Kubernetes.KubernetesVersion, "v") && env.Spec.Kubernetes.KubernetesInstaller != "microk8s" {
fmt.Printf("Kubernetes version %s is not in the format of vX.Y.Z, setting default version v1.27.9\n", env.Spec.Kubernetes.KubernetesVersion)
fmt.Printf("Kubernetes version %s is not in the format of vX.Y.Z, setting default version v1.32.1\n", env.Spec.Kubernetes.KubernetesVersion)
kubernetes.Version = defaultKubernetesVersion
}
if env.Spec.Kubernetes.KubeletReleaseVersion != "" {
Expand Down
4 changes: 2 additions & 2 deletions pkg/provisioner/templates/nv-driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const NvDriverTemplate = `
sudo apt-get update
install_packages_with_retry linux-headers-$(uname -r)
distribution=$(. /etc/os-release;echo $ID$VERSION_ID | sed -e 's/\.//g')
wget https://developer.download.nvidia.com/compute/cuda/repos/$distribution/x86_64/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_1.0-1_all.deb
wget https://developer.download.nvidia.com/compute/cuda/repos/$distribution/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
with_retry 3 10s sudo apt-get update
install_packages_with_retry cuda-drivers
Expand Down

0 comments on commit b0f8bf7

Please sign in to comment.