Open
Description
I am trying to install spinnaker all in one setup following the instructions. However my install script fails with the below error.
When i looked further, it seems that CRDS folder doesn't exist when applying the spinnaker operator.
./scripts/install.sh -o -P $Public_IP
[INFO ] Using OSS Spinnaker
[INFO ] Using OSS Spinnaker
[INFO ] Running minnaker setup for Linux
[INFO ] Cloning repo: https://github.com/armory/spinnaker-kustomize-patches#minnaker into /home/ubuntu/spinnaker/minnaker-0.1.3/spinsvc
[WARN ] /home/ubuntu/spinnaker/minnaker-0.1.3/spinsvc exists already. FOLDER CONTENTS WILL GET OVERWRITTEN!
[WARN ] PROCEEDING in 3 secs... (ctrl-C to cancel; use -B option to specify a different directory)
Cloning into '/home/ubuntu/spinnaker/minnaker-0.1.3/spinsvc'...
remote: Enumerating objects: 1964, done.
remote: Counting objects: 100% (650/650), done.
remote: Compressing objects: 100% (274/274), done.
remote: Total 1964 (delta 400), reused 548 (delta 356), pack-reused 1314
Receiving objects: 100% (1964/1964), 549.72 KiB | 9.82 MiB/s, done.
Resolving deltas: 100% (1116/1116), done.
[INFO ] Installing yq
[INFO ] Installing jq
[INFO ] Trying to detect endpoint
[INFO ] Using provided public IP A.B.C.D
[INFO ] Generating password [/home/ubuntu/spinnaker/minnaker-0.1.3/spinsvc/secrets/spinnaker_password]:
*****RANDOM***Paswword****
[INFO ] Updating spinsvc templates with new endpoint: A.B.C.D
[INFO ] Creating spin_endpoint helper function
#!/bin/bash
#echo "$(kubectl get spinsvc spinnaker -n spinnaker -ojsonpath='{.spec.spinnakerConfig.config.security.uiSecurity.overrideBaseUrl}')"
echo "$(yq e '.spec.spinnakerConfig.config.security.uiSecurity.overrideBaseUrl' BASE_DIR/expose/patch-urls.yml)"
[[ -f BASE_DIR/secrets/spinnaker_password ]] && echo "username: 'admin'"
[[ -f BASE_DIR/secrets/spinnaker_password ]] && echo "password: '$(cat BASE_DIR/secrets/spinnaker_password)'"
[INFO ] --- Installing K3s ---
[INFO] Using v1.19.7+k3s1 as release
[INFO] Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.19.7+k3s1/sha256sum-amd64.txt
[INFO] Skipping binary downloaded, installed k3s matches hash
[INFO] Skipping installation of SELinux RPM
[INFO] Skipping /usr/local/bin/kubectl symlink to k3s, already exists
[INFO] Skipping /usr/local/bin/crictl symlink to k3s, already exists
[INFO] Skipping /usr/local/bin/ctr symlink to k3s, already exists
[INFO] Creating killall script /usr/local/bin/k3s-killall.sh
[INFO] Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO] env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO] systemd: Creating service file /etc/systemd/system/k3s.service
[INFO] systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO] No change detected so skipping service start
[INFO ] --- END K3s ---
[INFO ] Setting Kubernetes context to Spinnaker namespace
Context "default" modified.
[INFO ] Spinnaker Operator Version:
[INFO ] Spinnaker flavor: oss
[INFO ] Changing spinnaker flavor...Done
[INFO ] Resolved operator namespace: spinnaker-operator
[INFO ] Deploying oss operator...
[INFO ] Downloading operator from https://github.com/armory/spinnaker-operator/releases/download/v/manifests.tgz
[KUBE ] kubectl apply -f /home/ubuntu/spinnaker/minnaker-0.1.3/spinsvc/operator/deploy/crds/
[ERROR] Error executing command:
error: the path "/home/ubuntu/spinnaker/minnaker-0.1.3/spinsvc/operator/deploy/crds/" does not exist[KUBE ] kubectl apply -f https://engineering.armory.io/manifests/pacrd-1.0.1.yaml -n spinnaker
[ERROR] Error executing command:
Warning: apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
Error from server (NotFound): error when creating "https://engineering.armory.io/manifests/pacrd-1.0.1.yaml": namespaces "spinnaker" not found
Error from server (NotFound): error when creating "https://engineering.armory.io/manifests/pacrd-1.0.1.yaml": namespaces "spinnaker" not found
Error from server (NotFound): error when creating "https://engineering.armory.io/manifests/pacrd-1.0.1.yaml": namespaces "spinnaker" not found
Error from server (NotFound): error when creating "https://engineering.armory.io/manifests/pacrd-1.0.1.yaml": namespaces "spinnaker" not found
Error from server (NotFound): error when creating "https://engineering.armory.io/manifests/pacrd-1.0.1.yaml": namespaces "spinnaker" not found
ubuntu@ip-172-31-41-23:~/spinnaker/minnaker-0.1.3$ ls -lrth /home/ubuntu/spinnaker/minnaker-0.1.3/spinsvc/operator/deploy/crds
ls: cannot access '/home/ubuntu/spinnaker/minnaker-0.1.3/spinsvc/operator/deploy/crds': No such file or directory
ubuntu@ip-172-31-41-23:~/spinnaker/minnaker-0.1.3$
ubuntu@ip-172-31-41-23:~/spinnaker/minnaker-0.1.3$ cd /home/ubuntu/spinnaker/minnaker-0.1.3/spinsvc/operator
ubuntu@ip-172-31-41-23:~/spinnaker/minnaker-0.1.3/spinsvc/operator$ ls
halyard-local.yml kustomization.yml patch-config.yaml patch-validations.yaml
What am i missing here? Or is this documentation too old to be ignored.
Metadata
Metadata
Assignees
Labels
No labels