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/bash | |
| data=$(date $T) | |
| echo "content-type: text/plain" | |
| echo "content-length: $(echo ${data} | wc -c)" | |
| echo | |
| echo ${data} |
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
| let s:gb.dark0_hard = ['#1d2021', 234] " 29-32-33 | |
| let s:gb.dark0 = ['#282828', 235] " 40-40-40 | |
| let s:gb.dark0_soft = ['#32302f', 236] " 50-48-47 | |
| let s:gb.dark1 = ['#3c3836', 237] " 60-56-54 | |
| let s:gb.dark2 = ['#504945', 239] " 80-73-69 | |
| let s:gb.dark3 = ['#665c54', 241] " 102-92-84 | |
| let s:gb.dark4 = ['#7c6f64', 243] " 124-111-100 | |
| let s:gb.dark4_256 = ['#7c6f64', 243] " 124-111-100 | |
| let s:gb.gray_245 = ['#928374', 245] " 146-131-116 |
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
| status: | |
| stats: | |
| # Нужно для отслеживания перехода из фазы в фазу | |
| phasesTransitions: | |
| - phase: Pending | |
| timestamp: "2024-06-19T09:39:56Z" | |
| - phase: Starting | |
| timestamp: "2024-06-19T09:39:56Z" | |
| launchTimeDuration: | |
| # |-----> |
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
| apiVersion: deckhouse.io/v1alpha1 | |
| kind: NodeGroupConfiguration | |
| metadata: | |
| name: virtualization-kernel-settings.sh | |
| spec: | |
| bundles: | |
| - '*' | |
| content: | | |
| bb-sync-file /etc/sysctl.d/99-virtualization-kernel-settings.conf - virtualization-kernel-settings-changed <<"EOF" | |
| fs.aio-max-nr = 1048576 |
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
| #!/usr/bin/env bash | |
| green=$(tput setaf 2) | |
| red=$(tput setaf 1) | |
| yellow=$(tput setaf 3) | |
| cyan=$(tput setaf 6) | |
| magenta=$(tput setaf 5) | |
| blue=$(tput setaf 4) | |
| sgr0=$(tput sgr0) | |
| bold=$(tput bold) |
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
| #!/usr/bin/env bash | |
| query_meta=' | |
| .items[] | |
| | select( | |
| (.metadata // {} | tojson | test("(kubevirt|cdi)") ) | |
| ) | |
| | | |
| { |
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
| <domstatus state='running' reason='booted' pid='93'> | |
| <taint flag='custom-monitor'/> | |
| <monitor path='/var/lib/libvirt/qemu/domain-1-mvp-static_static-vm/monitor.sock' type='unix'/> | |
| <vcpus> | |
| <vcpu id='0' pid='98'/> | |
| <vcpu id='1' pid='99'/> | |
| <vcpu id='2' pid='100'/> | |
| <vcpu id='3' pid='101'/> | |
| </vcpus> | |
| <qemuCaps> |
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
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| dhctl "github.com/deckhouse/deckhouse/dhctl/pkg/config" | |
| ) |
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
| resource "kubernetes_manifest" "vmd" { | |
| manifest = { | |
| "apiVersion" = "virtualization.deckhouse.io/v1alpha2" | |
| "kind" = "VirtualMachineDisk" | |
| "metadata" = { | |
| "name" = var.root_disk_name | |
| "namespace" = var.namespace | |
| } |
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
| #!/usr/bin/env bash | |
| # Scripts checks images and its layers for currently used virtualization module | |
| # mpo virtualization is needed! | |
| rst='\033[0m' # Text Reset | |
| red='\033[0;31m' # Red | |