Below is a “menu” of tactics you can mix-and-match depending on whether your 6-node, 48-vCPU cluster lives on-prem or in the cloud. I’ve ordered them roughly from quickest wins to bigger-picture moves.
- Set realistic CPU
requests
(what the scheduler reserves) and leavelimits
unset or >requests
so Pods can “burst” when you hit a spike. - Over-estimating requests leads to 90 % of your cluster sitting idle, yet the scheduler still thinks the nodes are “full.”
- Use the
kubectl top
plugin or Grafana dashboards to discover the p95 CPU demand per Pod and calibrate. - Once tuned, keep ±30 % head-room; that alone may absorb many spikes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mirror to GitLab | |
on: | |
push: | |
branches: | |
- '**' # Trigger on push to any branch | |
jobs: | |
mirror: | |
runs-on: ubuntu-latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile | |
# Download .zip linux x64 from https://github.com/potree/PotreeConverter/releases/tag/2.1.1 | |
# https://github.com/potree/PotreeConverter/releases/download/2.1.1/PotreeConverter_2.1.1_x64_linux.zip | |
# Variables | |
IMAGE_NAME = ghcr.io/epfl-enac/potree_converter:2.1.1 | |
CONTAINER_NAME = potree_converter_container | |
build: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Example of input | |
# { | |
# "id": "Module: Cooking", | |
# "sid": "f", | |
# "comment": "Ethanol: The tool does not indicate whether ethanol originates from renewable sources (which is likely the case as it commonly stems from plantations).", | |
# "priority": "Implemented", | |
# "actions": "IT4R implemented the tree icon indicating the ethanol comes from sustainable sources.", | |
# "estimated_hours": "0", | |
# "unhcr_comments": null, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.getElementById('owid:0-15a66463d56').innerHTML = "<img src='https://media.giphy.com/media/l378hFSP5KFVUkxag/giphy.gif' style='margin: 0 auto; width:100%; height:600px;'>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by htop configure 2.0.0, which was | |
generated by GNU Autoconf 2.69. Invocation command line was | |
$ ./configure --no-create --no-recursion | |
## --------- ## | |
## Platform. ## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<style media="screen" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> | |
</style> | |
<style media="screen"> | |
.bs-callout { |
NewerOlder