Simulate in dev00
-
Already visible in dev00
-
Hypothesis:
-
If we need to adapt livez Probe configuration --> https://github.com/bettermarks/bm-backend/pull/2903
- default 1
- liveness 10
┌─────────┬────────────────────────────────────┬────────────────────┬─────────────────────┬─────────────┬─────────────────┬───────────────┬────────────┬─────────┬───────────┬────────────┐ | |
│ (index) │ name │ namespace │ cpu │ memory │ type │ instanceCount │ memoryCost │ cpuCost │ totalCost │ perPodCost │ | |
├─────────┼────────────────────────────────────┼────────────────────┼─────────────────────┼─────────────┼─────────────────┼───────────────┼────────────┼─────────┼───────────┼────────────┤ | |
│ 0 │ 'calico-node' │ 'kube-system' │ 0.25 │ 0 │ 'V1DaemonSet' │ 10 │ 0 │ 36 │ '36.00' │ '3.60' │ | |
│ 1 │ 'csi-ionoscloud' │ 'kube-system' │ 0 │ 0 │ 'V1DaemonSet' │ 10 │ 0 │ 0 │ '0.00' │ '0.00' │ | |
│ 2 │ 'konnectivity-agent' │ 'kube-system' │ 0.016 |
Simulate in dev00
Already visible in dev00
Hypothesis:
If we need to adapt livez Probe configuration --> https://github.com/bettermarks/bm-backend/pull/2903
Note:
Context:
import * as puppeteer from 'puppeteer'; | |
import * as fs from 'fs'; | |
import * as readline from 'readline'; | |
async function downloadWebpageAsPdf(url: string, outputFilePath: string): Promise<void> { | |
const browser = await puppeteer.launch(); | |
const page = await browser.newPage(); | |
try { | |
await page.goto(url, { waitUntil: 'networkidle2' }); |
#!/usr/bin/python3 | |
# Author: Timotheus Pokorra <[email protected]> | |
# source hosted at https://github.com/SolidCharity/exportMediaWiki2HTML | |
# licensed under the MIT license | |
# Copyright 2020-2021 Timotheus Pokorra | |
import os | |
from urllib import parse | |
import requests |
"usernames": {
"part1": "Adler\nAffen\nAmeisen\nAmsel\nAustern\nBienen\nBison\nDachs\nDelfin\nDino\nDrossel\nEinhorn\nElch\nElefanten\nElster\nEnten\nEulen\nFalken\nFisch\nFlamingo\nFliegen\nFloh\nForellen\nFrosch\nFuchs\nGiraffen\nGorilla\nHahnen\nHamster\nHasen\nHecht\nHirsch\nHummer\nIgel\nJaguar\nKatzen\nKoala\nKobra\nKorallen\nKrokodil\nLachs\nLama\nLemming\nLeoparden\nLuchs\nMaulwurfs\nMeisen\nNashorn\nOtter\nPanda\nPapageien\nPelikan\nPferde\nPinguin\nPuma\nQuallen\nRaben\nReh\nRobben\nSchafs\nSchnecken\nSchwalben\nSpatzen\nSpecht\nSpinnen\nStorchen\nTauben\nTiger\nUhu\nVogel\nWal\nWespen\nWolfs\nZebra",
"part2": "Acker\nAllee\nBach\nBerg\nBrunnen\nBurg\nChaussee\nDamm\nDorf\nFeld\nFelsen\nFlur\nForst\nGarten\nGasse\nGrund\nHaus\nHausen\nHeim\nHof\nInsel\nKoppel\nLand\nNest\nPark\nPlatz\nRi
Traceback (most recent call last): | |
File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 89, in _execute | |
return self.cursor.execute(sql, params) | |
File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/elasticapm/instrumentation/packages/dbapi2.py", line 211, in execute | |
return self._trace_sql(self.__wrapped__.execute, sql, params) | |
File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/elasticapm/instrumentation/packages/dbapi2.py", line 249, in _trace_sql | |
result = method(sql, params) | |
psycopg2.OperationalError: server closed the connection unexpectedly | |
This probably means the server terminated abnormally | |
before or while processing the request. |
./gradlew build | |
Downloading https://services.gradle.org/distributions/gradle-7.3.3-bin.zip | |
...........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100% | |
Welcome to Gradle 7.3.3! | |
Here are the highlights of this release: | |
- Easily declare new test suites in Java projects | |
- Support for Java 17 | |
- Support for Scala 3 |
# Do not alert state UNKKNOWN | |
if [[ "${TYPE}" == "PROBLEM" && "${STATE}" == "UNKNOWN" ]] ; then | |
EMAIL=false | |
SMS=false | |
X_SERVICE=$(echo "${SERVICE}" | tr -d '/') | |
# Safe host and service in ${UNKNOWN_STATE} file | |
echo "${HOST}: ${X_SERVICE}" >> ${UNKNOWN_STATE} | |
fi | |
# Remove host and service from ${UNKNOWN_STATE} file in case of new PROBLEM |