Issue with dotnext PVC preventing normal deployments

* fixed k3d-deploy.sh directory reference
pull/448/head
James Wynn 2 years ago
parent b724f520cd
commit 725189a7b0

@ -19,6 +19,7 @@ helm_resource('homepage', 'jameswynn/homepage',
], ],
# image_selector= "k3d-registry.localhost:55000/homepage:local", # image_selector= "k3d-registry.localhost:55000/homepage:local",
flags=[ flags=[
"-f", "k3d-helm-values.yaml" "-f", "k3d-helm-values.yaml",
"--set", "persistence.dotnext.enabled=true"
] ]
) )

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
DOCKER_BUILDKIT=1 docker build -t k3d-registry.localhost:55000/homepage:local . DOCKER_BUILDKIT=1 docker build -t k3d-registry.localhost:55000/homepage:local ..
docker push k3d-registry.localhost:55000/homepage:local docker push k3d-registry.localhost:55000/homepage:local
HELM_REPO_NAME=jameswynn HELM_REPO_NAME=jameswynn

@ -1,7 +1,7 @@
image: image:
repository: k3d-registry.localhost:55000/homepage repository: k3d-registry.localhost:55000/homepage
tag: local tag: local
pullPolicy: IfNotPresent pullPolicy: Always
config: config:
bookmarks: bookmarks:
@ -68,9 +68,10 @@ ingress:
pathType: Prefix pathType: Prefix
persistence: persistence:
# this persists the .next directory which greatly improves successive pod startup times # this persists the .next directory which greatly improves successive pod startup times in Tilt,
# but it breaks normal deployments, so it is disabled by default
dotnext: dotnext:
enabled: true enabled: false
type: pvc type: pvc
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
size: 1Gi size: 1Gi

@ -6,4 +6,4 @@ chmod 600 kubeconfig
export KUBECONFIG=$(pwd)/kubeconfig export KUBECONFIG=$(pwd)/kubeconfig
echo "Waiting for traefik install job to complete (CTRL+C is safe if you're impatient)" echo "Waiting for traefik install job to complete (CTRL+C is safe if you're impatient)"
kubectl wait jobs/helm-install-traefik -n kube-system --for condition=complete --timeout 90s && echo "Completed" || echo "Timed out" kubectl wait jobs/helm-install-traefik -n kube-system --for condition=complete --timeout 90s && echo "Completed" || echo "Timed out (but it should still come up eventually)"

Loading…
Cancel
Save