晓杰
晓杰
maybe this yaml is better? ``` apiVersion: v1 kind: Metering metadata: name: xxxx Spec: owner: fanux //必填,基于role的RBAC namespace: string //必填,需要统计的namespace resources: map[string]resource.Quantity //资源类型,必填 timestap: string //时间戳,用于记录上次统计时间 timeInterval :*/1 * *...
问题: 1、namespace字段是否要填在metadata字段下面 ``` apiVersion: v1 kind: Metering metadata: name: xxxx namespace: test //必填,需要统计的namespace Spec: ``` 因为如果在spec字段下面的话,我apply -f yaml文件,metering在default namespace,quota在test namesapce。 2、计费的形式不是很清楚 计费是计算used还是计算分配(Hard)的? 然后全新开始经过一小时了使用了以下的资源 ``` Name: metering-sample Namespace: default Resource Used...
final metering struct ``` apiVersion: v1 kind: Metering metadata: name: xxxx Spec: owner: fanux //requite namespace: string //require resources: v1.ResourceList // resource type ```
hello @tomLadder i have the same need,please teach us how to add background image if you have time
hello,have someone know how to solve this hugo problem
``` root@VM-12-15-ubuntu:/home/ubuntu/sealos/docker/sealos# sealos create mysql:8.0 -c mysql:8.0 dbaea59d1b4194257138a6434ec0820a13097dd7e900135e78daf9759fe2407a mysql:8.0 2022-10-11T12:03:44 info Mount point: /var/lib/containers/storage/overlay/000bda57ea9e85fbe585c351e0053e3d3c0b5c16743bba5f01e889a73a24a79d/merged ``` @willzhang
now run `sealos create mysql:8.0 -c mysql` should be ok.
``` root@master1:~/.ssh# kubectl get nodes NAME STATUS ROLES AGE VERSION master1 Ready control-plane 36m v1.25.0 master2 Ready control-plane 4m48s v1.25.0 node1 Ready 35m v1.25.0 node2 Ready 106s v1.25.0 ``` 两master加入node2未出现问题...
add this in /etc/hosts in master can solve this problem ``` xxxxx(your local ip) sealos.hub xxxx(your local ip) apiserver.cluster.local ``` and run `systemctl restart kubelet` ``` root@yyj-master1:/home/ubuntu# crictl ps CONTAINER...
For the first time, I immediately added master2, and it was successful. After waiting for an hour to add it, the problem was reproduced. ``` 100.75.75.31:22: error execution phase control-plane-prepare/download-certs:...