《Kubernetes权威指南》第4版书中示例
kubeguide / k8sdefinitiveguide-v4-sourcecode Goto Github PK
View Code? Open in Web Editor NEW《Kubernetes - The Definitive Guide》 4th Edition Source Code
《Kubernetes - The Definitive Guide》 4th Edition Source Code
《Kubernetes权威指南》第4版书中示例
您好!
请问一下书上第532页的这两条命令是在节点上执行还是在Heketi容器中执行?
export HEKETI_CLI_SERVER=http://localhost:8080
heketi-cli topology load --json=topology.json
我是在容器中执行,但是报如下错误:
Creating cluster ... ID: be9747c4a4897cd473ae58ddf7e0536d
Allowing file volumes on cluster.
Allowing block volumes on cluster.
Creating node node1 ... Unable to create node: New Node doesn't have glusterd running
Creating node node1 ... Unable to create node: New Node doesn't have glusterd running
Creating node node3 ... Unable to create node: New Node doesn't have glusterd running
我的三个Node都安装并运行了glusterd程序了。
1.3.3 myweb-rc.yaml 镜像用的mysql-connector-java-5.1.37.jar,不兼容1.3.2 mysql-rc.yaml默认镜像 mysql 8,导致连接失败,需要将1.3.2 mysql-rc.yaml 指定mysql5.7版本。
apiVersion: v1
kind: Pod
metadata:
name: cm-test-pod
spec:
containers:
configMapRef 缺少分号
fluentd 日志:
error="Can not reach Elasticsearch cluster ({:host=>"elasticsearch-logging",
:port=>9200, :scheme=>"http"})! getaddrinfo:
Name or service not known (SocketError)" plugin_id="object:1384fa4"
elaticsearch 日志:
Error finding endpoints: endpoints "elasticsearch-logging" is forbidden: User "system:serviceaccount:kube-system:default" cannot get resource "endpoints" in API group "" in the namespace "kube-system
问下作者 demo 有没有测试过,
unable to recognize "hpa-v2.yaml": no matches for kind "Prometheus" in version "monitoring.coreos.com/v1"
DockerHub上的img国内下不来,能不能在网易,阿里云什么的建个镜像
使用 ”K8sDefinitiveGuide-V4-Sourcecode/Chapter3/3.6.1 dapi-test-pod.yaml“ 该sample创建pod时报错,原因为 “3.6.1 dapi-test-pod.yaml” 这个文件中从第8行到第22行缺少缩进。
有没有基于v1.18的教程?
书本是1.14的,很多例子跑不起来
There is no permission to mount /etc here
mounting "/var/lib/docker/containers/b171519964504fc15d337ca9b3b2eeb85dbbd5a9a012e88c496ee35ac0e11521/resolv.conf" to rootfs at "/var/lib/docker/overlay2/2fb37caa0b2007be127265ffede8ad983c807c56c742af3edf62491f5c7eae98/merged/etc/resolv.conf" caused: open /var/lib/docker/overlay2/2fb37caa0b2007be127265ffede8ad983c807c56c742af3edf62491f5c7eae98/merged/etc/resolv.conf: read-only file system: unknown
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.