ay0ks
ay0ks
CCoder.com
Created by ay0ks on 9/4/2024 in #help
"/persistentvolumeclaims": dial tcp [::1]:80: connect: connection refused"
Got the following error:
Error: Post "http://localhost/api/v1/namespaces/ay0ks.directory.internal.development_containers/persistentvolumeclaims": dial tcp [::1]:80: connect: connection refused
on main.tf line 194, in resource "kubernetes_persistent_volume_claim" "home":
194: resource "kubernetes_persistent_volume_claim" "home" {
Error: Post "http://localhost/api/v1/namespaces/ay0ks.directory.internal.development_containers/persistentvolumeclaims": dial tcp [::1]:80: connect: connection refused
on main.tf line 194, in resource "kubernetes_persistent_volume_claim" "home":
194: resource "kubernetes_persistent_volume_claim" "home" {
Using this template https://github.com/sharkymark/v2-templates/blob/main/src/pod-idea/main.tf
21 replies
CCoder.com
Created by ay0ks on 5/1/2024 in #help
Access URL is not being used while port-forwarding.
echo $CODER_ACCESS_URL
https://code.ay0ks.wtf
echo $CODER_ACCESS_URL
https://code.ay0ks.wtf
coder port-forward Personal --tcp 4321:3000
zsh: correct 'Personal' to 'personal' [nyae]? n
Encountered an error running "coder port-forward", see "coder port-forward --help" for more information
error: Get "http://127.0.0.1:30163/api/v2/users/me/workspace/Personal?include_deleted=false": dial tcp 127.0.0.1:30163: connect: connection refused
coder port-forward Personal --tcp 4321:3000
zsh: correct 'Personal' to 'personal' [nyae]? n
Encountered an error running "coder port-forward", see "coder port-forward --help" for more information
error: Get "http://127.0.0.1:30163/api/v2/users/me/workspace/Personal?include_deleted=false": dial tcp 127.0.0.1:30163: connect: connection refused
Is there any way I can avoid using the localhost IP? (The same problem was with kubernetes templates, it was using localhost as an access url so I had to switch to docker)
19 replies