This file contains 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 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 | |
### ITS DRAFT!!! | |
# kubectl api-resources --api-group="kubevirt.io" -o name | |
# kubectl api-resources --api-group="cdi.kubevirt.io" -o name | |
green=$(tput setaf 2) | |
red=$(tput setaf 1) | |
yellow=$(tput setaf 3) |
This file contains 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
sizingPolicies: | |
- cores: | |
min: 1 | |
max: 4 | |
memory: | |
min: 1G | |
max: 4G | |
dedicatedCores: [false] | |
coreFractions: [5, 10, 20, 50, 100] | |
- cores: |
This file contains 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 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: v1 | |
kind: Namespace | |
metadata: | |
name: vms | |
--- | |
apiVersion: v1 | |
data: | |
userData: | | |
I2Nsb3VkLWNvbmZpZwpwYWNrYWdlX3VwZGF0ZTogdHJ1ZQpwYWNrYWdlczoKICAtIHN0cm | |
Vzcy1uZwogIC0gdG11eAogIC0gaHRvcAogIC0gcWVtdS1ndWVzdC1hZ2VudAogIC0gaXB1 |
This file contains 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 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 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 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 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 | |
} |
NewerOlder