Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service quality probe 100% failed #114

Open
liuqianhong6007 opened this issue Nov 30, 2023 · 4 comments
Open

service quality probe 100% failed #114

liuqianhong6007 opened this issue Nov 30, 2023 · 4 comments

Comments

@liuqianhong6007
Copy link

Kruise version: 1.5.0
Kruise game version: 0.6.1

企业微信截图_51bae1bd-a3f6-4c36-b531-70d682a5afc0

Game server set sample from https://openkruise.io/zh/kruisegame/user-manuals/service-qualities :

apiVersion: game.kruise.io/v1alpha1
kind: GameServerSet
metadata:
name: minecraft
namespace: default
spec:
replicas: 3
gameServerTemplate:
spec:
containers:
- image: registry.cn-hangzhou.aliyuncs.com/gs-demo/gameserver:idle
name: minecraft
updateStrategy:
rollingUpdate:
podUpdatePolicy: InPlaceIfPossible
maxUnavailable: 100%
serviceQualities: # 设置了一个idle的服务质量
- name: idle
containerName: minecraft
permanent: false
#与原生probe类似,本例使用执行脚本的方式探测游戏服是否空闲,不存在玩家
exec:
command: ["bash", "./idle.sh"]
serviceQualityAction:
#不存在玩家,标记该游戏服运维状态为WaitToBeDeleted
- state: true
opsState: WaitToBeDeleted
#存在玩家,标记该游戏服运维状态为None
- state: false
opsState: None

kubectl -n kruise-system logs -f kruise-daemon-pk252

企业微信截图_e41fcb37-2fe0-48cc-99cb-ba32e4a774b0

This problem also occurs in Kruise version 1.5.1

@ringtail
Copy link
Member

CC @chrisliu1995

@chrisliu1995
Copy link
Member

What's the Kubernetes cluster version?

@firedtoad
Copy link

image
it's a nil pointer dereference error

@firedtoad
Copy link

本地环境问题
1.7.0 以后版本只支持 cri 不再支持docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants