Skip to content

Instantly share code, notes, and snippets.

View patsevanton's full-sized avatar

Anton Patsev patsevanton

View GitHub Profile
This file has been truncated, but you can view the full file.
---
# Source: kube-prometheus-stack/charts/grafana/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
helm.sh/chart: grafana-6.50.7
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: prometheus
app.kubernetes.io/version: "9.3.6"
---
# Source: loggenerator/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: loggenerat-loggenerator
labels:
helm.sh/chart: loggenerator-0.1.0
app.kubernetes.io/name: loggenerator
app.kubernetes.io/instance: loggenerat
stern -n elasticsearch .
+ my-elasticsearch-coordinating-0 › elasticsearch
my-elasticsearch-coordinating-0 elasticsearch elasticsearch 11:42:15.23
my-elasticsearch-coordinating-0 elasticsearch elasticsearch 11:42:15.23 Welcome to the Bitnami elasticsearch container
my-elasticsearch-coordinating-0 elasticsearch elasticsearch 11:42:15.24 Subscribe to project updates by watching https://github.com/bitnami/containers
my-elasticsearch-coordinating-0 elasticsearch elasticsearch 11:42:15.24 Submit issues and feature requests at https://github.com/bitnami/containers/issues
my-elasticsearch-coordinating-0 elasticsearch elasticsearch 11:42:15.24
my-elasticsearch-coordinating-0 elasticsearch elasticsearch 11:42:15.24 INFO ==> ** Starting Elasticsearch setup **
my-elasticsearch-coordinating-0 elasticsearch warning: ignoring JAVA_HOME=/opt/bitnami/java; using ES_JAVA_HOME
+ my-elasticsearch-ingest-1 › elasticsearch
stern -n elasticsearch .
+ my-elasticsearch-metrics-944c9685b-bpwr5 › metrics
my-elasticsearch-metrics-944c9685b-bpwr5 metrics level=info ts=2022-10-14T11:10:45.629605717Z caller=clusterinfo.go:214 msg="triggering initial cluster info call"
my-elasticsearch-metrics-944c9685b-bpwr5 metrics level=info ts=2022-10-14T11:10:45.629682109Z caller=clusterinfo.go:183 msg="providing consumers with updated cluster info label"
my-elasticsearch-metrics-944c9685b-bpwr5 metrics level=error ts=2022-10-14T11:10:46.657634951Z caller=clusterinfo.go:267 msg="failed to get cluster info" err="Get \"http://my-elasticsearch:9200/\": dial tcp 10.96.171.149:9200: connect: connection refused"
my-elasticsearch-metrics-944c9685b-bpwr5 metrics level=error ts=2022-10-14T11:10:46.657732623Z caller=clusterinfo.go:188 msg="failed to retrieve cluster info from ES" err="Get \"http://my-elasticsearch:9200/\": dial tcp 10.96.171.149:9200: connect: connection refused"
my-elasticsearch-metrics-944c9685b-bpwr5 metrics level=info ts=2022-10-14T11:10:
┌ Waiting for resources to become ready
│ ┌ Status progress
│ │ DEPLOYMENT REPLICAS AVAILABLE UP-TO-DATE
│ │ my-elasticsearch-metrics 1/1 0 1
│ │ STATEFULSET REPLICAS READY UP-TO-DATE
│ │ my-elasticsearch-coordinating 1/1 0 1
│ │ │ POD READY RESTARTS STATUS ---
stern -n elasticsearch .
+ my-elasticsearch-metrics-944c9685b-8w486 › metrics
my-elasticsearch-metrics-944c9685b-8w486 metrics level=info ts=2022-10-11T15:10:17.363740056Z caller=clusterinfo.go:214 msg="triggering initial cluster info call"
my-elasticsearch-metrics-944c9685b-8w486 metrics level=info ts=2022-10-11T15:10:17.363964677Z caller=clusterinfo.go:183 msg="providing consumers with updated cluster info label"
my-elasticsearch-metrics-944c9685b-8w486 metrics level=error ts=2022-10-11T15:10:18.382482177Z caller=clusterinfo.go:267 msg="failed to get cluster info" err="Get \"http://my-elasticsearch:9200/\": dial tcp 10.96.134.26:9200: connect: connection refused"
my-elasticsearch-metrics-944c9685b-8w486 metrics level=error ts=2022-10-11T15:10:18.41113855Z caller=clusterinfo.go:188 msg="failed to retrieve cluster info from ES" err="Get \"http://my-elasticsearch:9200/\": dial tcp 10.96.134.26:9200: connect: connection refused"
+ my-elasticsearch-ingest-1 › elasticsearch
my-elasticsearch-ingest-1 elasticsearch
pipeline {
agent any
options {
timestamps()
ansiColor('xterm')
timeout(time: 10, unit: 'MINUTES')
}
stages {
stage ('build') {
steps {
version: '3'
networks:
selenoid:
external:
name: selenoid # This assumes network is already created
services:
selenoid:
networks:
selenoid: null
@patsevanton
patsevanton / Dotnet.wsb
Created February 28, 2022 06:09
Windows Sandbox config that installs Chocolatey (dotnet) and mounts Public Documents to Desktop
<Configuration>
<VGpu>Enable</VGpu>
<Networking>Enable</Networking>
<ClipboardRedirection>Enable</ClipboardRedirection>
<ProtectedClient>Enable</ProtectedClient>
<PrinterRedirection>Enable</PrinterRedirection>
<MemoryInMB>0</MemoryInMB>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\Users\Public\Documents\</HostFolder>
@patsevanton
patsevanton / choco.wsb
Created February 28, 2022 05:15 — forked from t1m0thyj/choco.wsb
Windows Sandbox config that installs Chocolatey and mounts Public Documents to Desktop
<Configuration>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\Users\Public\Documents\</HostFolder>
<ReadOnly>false</ReadOnly>
</MappedFolder>
</MappedFolders>
<LogonCommand>
<Command>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -Command "start powershell { -NoExit -Command \"&amp; { Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); Import-Module "$env:ProgramData\chocolatey\helpers\chocolateyInstaller.psm1"; Update-SessionEnvironment; cd C:\Users\WDAGUtilityAccount }\" }"</Command>
</LogonCommand>