best-address-42882
12/22/2022, 7:28 PMwonderful-judge-81095
12/22/2022, 10:51 PMwonderful-judge-81095
12/22/2022, 10:51 PMwonderful-judge-81095
12/22/2022, 10:53 PMadorable-train-88202
12/23/2022, 2:54 AMadorable-train-88202
12/23/2022, 7:43 AMcrooked-cat-21365
12/23/2022, 11:11 AM{
"type": "error",
"links": {},
"code": "NotFound",
"message": "<http://clusters.provisioning.cattle.io|clusters.provisioning.cattle.io> \"c-mflh9\" not found",
"status": 404
}
billowy-dusk-93535
12/23/2022, 1:56 PMbest-address-42882
12/23/2022, 3:37 PMhundreds-sugar-37524
12/23/2022, 3:54 PMflaky-address-68453
12/25/2022, 9:15 PM# k3s server --cluster-init
FATA[0000] starting kubernetes: preparing server: start managed database: listen tcp 127.0.0.1:2380: bind: cannot assign requested address
Seems like most folks hit this issue trying to run in docker, which the resolution is to open the external port. I've tried adding similar settings in qemu to forward the port to the host, but that has not improved anything. It seems lightly weird to me that I'd need to expose ports to just run a single instance, but I'm not well versed in any of this tech, so eh.
I'm not sure what next to try or where to look for other logs for more information. I've tried increasing the log output, but that did not add any information thus far.limited-microphone-86044
12/26/2022, 5:57 AMacceptable-printer-7134
12/26/2022, 8:33 AMgeneric
one.incalculable-telephone-32084
12/26/2022, 1:45 PM--k3s-server-arg
no longer provided for k3d
? what is the replacement for it?
ŕ®… ~ k3d cluster create --k3s-server-arg "--no-deploy=traefik" --agents 2 -v "/home/bsivasub/kube:/kube@agent[0,1]" -v "/home/bsivasub/kube:/kube@server[0]" --port "80:80@loadbalancer"
FATA[0000] unknown flag: --k3s-server-arg
millions-journalist-77187
12/27/2022, 5:54 AMloud-nest-3266
12/27/2022, 6:09 AMmost-vegetable-47956
12/27/2022, 7:27 AMimport <http://future.keywords.in|future.keywords.in>
violation[{"msg": msg}] {
allowedPorts := [8161, 9404, 61616, 5445, 9999, 2022]
actualPorts := [8161, 9404, 61616, 5445]
some port in actualPorts; not port in allowedPorts
msg := sprintf("service has forbidden exposed ports: %v", [actualPorts])
}
the idea is that if a port in actualPorts
doesn't match any in allowedPorts
, it should result in a violation. this works fine on the OPA playground. but it doesn't work when used as OPA template in Rancher. it seems the import
doesn't work. i've tried import data.lib.future.keywords
and import '<http://github.com/open-policy-agent/opa/internal/future|github.com/open-policy-agent/opa/internal/future>'
,
Q> any ideas on how i can compare the arrays or import the required module?victorious-airline-43065
12/27/2022, 8:56 AMbitter-electrician-37664
12/27/2022, 4:25 PMloud-vase-4511
12/27/2022, 8:03 PMvictorious-airline-43065
12/28/2022, 8:49 AMkube-proxy-arg:- "metrics-bind-address=0.0.0.0"
in config.yml but it seems to still listen on localhost only tcp 0 0 127.0.0.1:10249
, anyone knows the reason?best-address-42882
12/28/2022, 5:52 PMbest-hair-19862
12/28/2022, 9:50 PMcrooked-shoe-67827
12/29/2022, 9:19 AMgorgeous-cat-50570
12/29/2022, 10:07 AMvictorious-airline-43065
12/29/2022, 3:05 PMetcd-expose-metrics: true
however etcd is still not exposed, anyone knows what could be the issue?boundless-notebook-59700
12/29/2022, 6:47 PMbest-address-42882
12/29/2022, 8:31 PMmany-zebra-31494
12/29/2022, 8:43 PMmany-zebra-31494
12/29/2022, 8:45 PMmany-zebra-31494
12/29/2022, 8:45 PM