google-compute-engine,kubernetes,google-kubernetes-engine"/>
  • 13
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

I have a cluster on GKE with many pods and persistent disks (PD) and cannot deploy anymore.

pod failed to fit in any node fit failure on node (XX): MaxVolumeCount

The issue should not affect me because I have a 2-code machine and Google recently raised the persistent disk limit to 64:

https://cloudplatform.googleblog.com/2016/04/enhanced-persistent-disks-for-Google-Compute-Engine-better-Kubernetes-and-Docker-support.html

The problems seems to be a env var in the master that says KUBE_MAX_PD_VOLS = 16. The issue seems to be fixed but since I have a hosted master I cannot find the way to change the env var.

https://github.com/kubernetes/kubernetes/issues/24317#issuecomment-214556057

So the question is:

How can I change an env var in a GKE master?

Google Container Engine is a managed environment so it won't allow you to set env vars on the master.

Options to move this forward will be:

  • Run your own Kubernetes cluster on GCE instead of GKE.
  • Submit a feature request to GKE to provide this feature under 'Container Engine' component.
  • The Issue that you posted is still open, so you might wait for a complete solution.
  • 1
Reply Report

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags