Open symsimmy opened 7 months ago
按照教程,我按照好了 kruise 和 kruise-game
但是,当我按照:https://openkruise.io/zh/kruisegame/installation,这个文档来部署游戏服服务时。 我使用下面的yaml:
apiVersion: v1 kind: GameServerSet metadata: name: minecraft namespace: kruise-game-system labels: app: minecraft spec: replicas: 3 updateStrategy: rollingUpdate: podUpdatePolicy: InPlaceIfPossible gameServerTemplate: spec: containers: - image: registry.cn-hangzhou.aliyuncs.com/acs/minecraft-demo:1.12.2 name: minecraft
显示创建成功,但是没有创建:
我想请教下我的配置有什么问题么?
附:
kruise-webhook-service yaml:
kind: Service apiVersion: v1 metadata: name: kruise-webhook-service namespace: kruise-system labels: app.kubernetes.io/managed-by: Helm app.kubesphere.io/instance: kruise-cn7tvf annotations: meta.helm.sh/release-name: kruise-cn7tvf meta.helm.sh/release-namespace: okg-learn spec: ports: - protocol: TCP port: 443 targetPort: 9876 selector: control-plane: controller-manager clusterIP: 10.233.28.39 clusterIPs: - 10.233.28.39 type: ClusterIP sessionAffinity: None ipFamilies: - IPv4 ipFamilyPolicy: SingleStack internalTrafficPolicy: Cluster
kruise-game-controller-manager-metrics-service yaml:
kind: Service apiVersion: v1 metadata: name: kruise-game-controller-manager-metrics-service namespace: kruise-game-system labels: app.kubernetes.io/managed-by: Helm app.kubesphere.io/instance: kruise-game-b68lck control-plane: kruise-game-controller-manager annotations: meta.helm.sh/release-name: kruise-game-b68lck meta.helm.sh/release-namespace: okg-learn spec: ports: - name: https protocol: TCP port: 8443 targetPort: https selector: control-plane: kruise-game-controller-manager clusterIP: 10.233.48.173 clusterIPs: - 10.233.48.173 type: ClusterIP sessionAffinity: None ipFamilies: - IPv4 ipFamilyPolicy: SingleStack internalTrafficPolicy: Cluster
kruise-game-external-scaler yaml:
kind: Service apiVersion: v1 metadata: name: kruise-game-external-scaler namespace: kruise-game-system labels: app.kubernetes.io/managed-by: Helm app.kubesphere.io/instance: kruise-game-b68lck annotations: meta.helm.sh/release-name: kruise-game-b68lck meta.helm.sh/release-namespace: okg-learn spec: ports: - protocol: TCP port: 6000 targetPort: 6000 selector: control-plane: kruise-game-controller-manager clusterIP: 10.233.60.166 clusterIPs: - 10.233.60.166 type: ClusterIP sessionAffinity: None ipFamilies: - IPv4 ipFamilyPolicy: SingleStack internalTrafficPolicy: Cluster
4. kruise-game-webhook-service yaml: ```yaml kind: Service apiVersion: v1 metadata: name: kruise-game-webhook-service namespace: kruise-game-system labels: app.kubernetes.io/managed-by: Helm app.kubesphere.io/instance: kruise-game-b68lck annotations: meta.helm.sh/release-name: kruise-game-b68lck meta.helm.sh/release-namespace: okg-learn spec: ports: - protocol: TCP port: 443 targetPort: 9876 selector: control-plane: kruise-game-controller-manager clusterIP: 10.233.22.252 clusterIPs: - 10.233.22.252 type: ClusterIP sessionAffinity: None ipFamilies: - IPv4 ipFamilyPolicy: SingleStack internalTrafficPolicy: Cluster
创建动作是通过kubectl apply -f .yaml完成的吗
按照教程,我按照好了 kruise 和 kruise-game
但是,当我按照:https://openkruise.io/zh/kruisegame/installation,这个文档来部署游戏服服务时。 我使用下面的yaml:
显示创建成功,但是没有创建:
我想请教下我的配置有什么问题么?
附:
kruise-webhook-service yaml:
kruise-game-controller-manager-metrics-service yaml:
kruise-game-external-scaler yaml: