tekumara / prefect-demo Goto Github PK
View Code? Open in Web Editor NEWPrefect examples running in a local kubernetes cluster
Prefect examples running in a local kubernetes cluster
Hello,
I retrieve the last commit.
I try to make kubes and the cluster fails to Error, could not get list of group versions for APIService
❯ make kubes deploy
k3d cluster create orion --registry-create orion-registry:0.0.0.0:5550 \
-p 4200:80@loadbalancer -p 9000:9000@loadbalancer -p 9001:9001@loadbalancer \
-p 10001:10001@loadbalancer -p 8265:8265@loadbalancer -p 6379:6379@loadbalancer \
--k3s-arg '--kube-apiserver-arg=feature-gates=EphemeralContainers=true@server:*' \
--k3s-arg '--kube-scheduler-arg=feature-gates=EphemeralContainers=true@server:*' \
--k3s-arg '--kubelet-arg=feature-gates=EphemeralContainers=true@agent:*' \
--wait
INFO[0000] portmapping '4200:80' targets the loadbalancer: defaulting to [servers:*:proxy agents:*:proxy]
INFO[0000] portmapping '9000:9000' targets the loadbalancer: defaulting to [servers:*:proxy agents:*:proxy]
INFO[0000] portmapping '9001:9001' targets the loadbalancer: defaulting to [servers:*:proxy agents:*:proxy]
INFO[0000] portmapping '10001:10001' targets the loadbalancer: defaulting to [servers:*:proxy agents:*:proxy]
INFO[0000] portmapping '8265:8265' targets the loadbalancer: defaulting to [servers:*:proxy agents:*:proxy]
INFO[0000] portmapping '6379:6379' targets the loadbalancer: defaulting to [servers:*:proxy agents:*:proxy]
INFO[0000] Prep: Network
INFO[0000] Created network 'k3d-orion'
INFO[0000] Created image volume k3d-orion-images
INFO[0000] Creating node 'orion-registry'
INFO[0005] Pulling image 'docker.io/library/registry:2'
INFO[0010] Successfully created registry 'orion-registry'
INFO[0010] Starting new tools node...
INFO[0010] Starting Node 'k3d-orion-tools'
INFO[0011] Creating node 'k3d-orion-server-0'
INFO[0016] Pulling image 'docker.io/rancher/k3s:v1.24.4-k3s1'
INFO[0031] Creating LoadBalancer 'k3d-orion-serverlb'
INFO[0032] Pulling image 'ghcr.io/k3d-io/k3d-proxy:5.4.6'
INFO[0038] Using the k3d-tools node to gather environment information
INFO[0038] Starting new tools node...
INFO[0038] Starting Node 'k3d-orion-tools'
INFO[0040] Starting cluster 'orion'
INFO[0040] Starting servers...
INFO[0040] Starting Node 'k3d-orion-server-0'
INFO[0043] All agents already running.
INFO[0043] Starting helpers...
INFO[0043] Starting Node 'orion-registry'
INFO[0044] Starting Node 'k3d-orion-serverlb'
INFO[0050] Injecting records for hostAliases (incl. host.k3d.internal) and for 4 network members into CoreDNS configmap...
INFO[0054] Cluster 'orion' created successfully!
INFO[0054] You can now use it like this:
kubectl cluster-info
Probing until traefik CRDs are created (~60 secs)...
10
20
30
40
50
NAME CREATED AT
ingressroutes.traefik.containo.us 2023-03-02T02:19:46Z
To use your cluster set:
export KUBECONFIG=/Users/oliver.mannion/.k3d/kubeconfig-orion.yaml
helm repo add bitnami https://charts.bitnami.com/bitnami
"bitnami" already exists with the same configuration, skipping
helm upgrade --install minio bitnami/minio --set auth.rootUser=minioadmin --set auth.rootPassword=minioadmin \
--wait --debug > /dev/null
history.go:56: [debug] getting history for release minio
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /Users/oliver.mannion/Library/Caches/helm/repository/minio-11.10.2.tgz
client.go:128: [debug] creating 5 resource(s)
wait.go:66: [debug] beginning wait for 5 resources with timeout of 5m0s
ready.go:268: [debug] PersistentVolumeClaim is not bound: default/minio
ready.go:268: [debug] PersistentVolumeClaim is not bound: default/minio
ready.go:268: [debug] PersistentVolumeClaim is not bound: default/minio
ready.go:268: [debug] PersistentVolumeClaim is not bound: default/minio
ready.go:268: [debug] PersistentVolumeClaim is not bound: default/minio
ready.go:268: [debug] PersistentVolumeClaim is not bound: default/minio
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
ready.go:277: [debug] Deployment is not ready: default/minio. 0 out of 1 expected pods are ready
kubectl apply -f infra/lb-minio.yaml
service/minio-lb created
kubectl exec deploy/minio -- mc mb -p local/minio-flows
mc: <ERROR> Unable to make bucket `local/minio-flows`. Access Denied.
command terminated with exit code 1
make: *** [kubes-minio] Error 1
Hello,
Is there a way to configure a docker registry with credentials in a KubernetesJob
? I want to pull a image from a private registry.
reception_deployment : Deployment = Deployment.build_from_flow(
name="private-flow",
flow=main_flow,
output="deployment-private-flow.yaml",
description="private-flow",
version="snapshot",
work_queue_name="kubernetes",
infrastructure=KubernetesJob(),
infra_overrides=dict(
image="myprivate-image:latest",
env={},
finished_job_ttl=300)
)
I can not pull myprivate-image
Do I have to update service_account
?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.