google-compute-engine,google-kubernetes-engine"/>
  • 10
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

We would like to increase the size of the logs that kubectl log retrieves.

As of Container-Optimized OS (COS) VERSION_ID=56 BUILD_ID=9000.84.2 (according to /etc/os-release), the following logrotate script is used: /etc/logrotate.d/docker-containers:

/var/lib/docker/containers/*/*-json.log {
    rotate 5
    copytruncate
    missingok
    notifempty
    compress
    maxsize 10M
    daily
    dateext
    dateformat -%Y%m%d-%s
    create 0644 root root
}

How can I increase the maxsize from 10M?

One thing I thought would be set the user-data metadata within the nodePools creation, but the NodeConfig documentation states that this is impossible: “keys must not conflict with any other metadata keys for the project or be one of the four reserved keys: "instance-template", "kube-env", "startup-script", and "user-data"”

Warm tip !!!

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

Trending Tags