Jun 2 10:27:30 linux hyperd: I0602 10:27:30.165973 11152 vm.go:179] hyperHandlePodEvent pod pod-bxELXTNZOJ, vm vm-jbPNqBTxYj
Jun 2 10:27:30 linux hyperd: I0602 10:27:30.171993 11152 libvirt.go:541] domainXML: <domain type="kvm"><name>vm-jbPNqBTxYj</name><memory unit="MiB">128</memory><vcpu placement="static" current="1">1</vcpu><os supported="yes"><type arch="x86_64" machine="pc-i440fx-2.0">hvm</type><loader type="pflash" readonly="yes">/var/lib/hyper/bios-qboot.bin</loader><nvram>/var/lib/hyper/cbfs-qboot.rom</nvram></os><features><acpi></acpi></features><cpu mode="host-passthrough"></cpu><on_poweroff>destroy</on_poweroff><on_reboot>destroy</on_reboot><on_crash>destroy</on_crash><devices><emulator>/usr/bin/qemu-system-x86_64</emulator><controller type="pci" index="0" model="pci-root"></controller><controller type="virtio-serial" index="0"><address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x00"></address></controller><controller type="scsi" index="0" model="virtio-scsi"><address t
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
| docker inspect 863e19c537e6 | |
| [ | |
| { | |
| "Id": "863e19c537e6a73abf32131d570ec32e46e8cf10debbb93de99e219c8f3f7e2a", | |
| "Created": "2016-03-18T08:55:30.088189136Z", | |
| "Path": "/bin/sh", | |
| "Args": [ | |
| "-c", | |
| "/run.sh" | |
| ], |
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
| // deepcopy-gen is a tool for auto-generating DeepCopy functions. | |
| // | |
| // Structs in the input directories with the below line in their comments | |
| // will be ignored during generation. | |
| // // +gencopy=false | |
| package main | |
| import ( | |
| "k8s.io/kubernetes/cmd/libs/go2idl/args" | |
| "k8s.io/kubernetes/cmd/libs/go2idl/deepcopy-gen/generators" |
Flexvolume enables users to mount vendor volumes into kubernetes. It expects vendor drivers are installed in the volume plugin path on every kubelet node.
It allows for vendors to develop their own drivers to mount volumes on nodes.
Note: Flexvolume is an alpha feature and is most likely to change in future
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
| """ Trains an agent with (stochastic) Policy Gradients on Pong. Uses OpenAI Gym. """ | |
| import numpy as np | |
| import cPickle as pickle | |
| import gym | |
| # hyperparameters | |
| H = 200 # number of hidden layer neurons | |
| batch_size = 10 # every how many episodes to do a param update? | |
| learning_rate = 1e-4 | |
| gamma = 0.99 # discount factor for reward |
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 | |
| export MUSL_VERSION=1.1.16 | |
| export SOCAT_VERSION=1.7.3.2 | |
| export NCURSES_VERSION=6.0 | |
| export READLINE_VERSION=7.0 | |
| export OPENSSL_VERSION=1.0.2k | |
| function build_musl() { | |
| cd /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
| # curl --unix-socket /var/run/hyper.sock -X POST "http://localhost/execvm?pod=nginx-9296454126&command=\[\"/sbin/busybox\",\"ls\",\"/sbin\"\]" | |
| busybox | |
| depmod | |
| iptables | |
| iptables-restore | |
| iptables-save | |
| ipvsadm | |
| modprobe | |
| mount.nfs4 |
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: v1 | |
| kind: ServiceAccount | |
| metadata: | |
| name: flannel | |
| namespace: kube-system | |
| --- | |
| apiVersion: rbac.authorization.k8s.io/v1beta1 | |
| kind: ClusterRoleBinding | |
| metadata: |
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
| kind: ClusterRole | |
| apiVersion: rbac.authorization.k8s.io/v1beta1 | |
| metadata: | |
| name: weave-net | |
| rules: | |
| - apiGroups: | |
| - "" | |
| resources: | |
| - pods | |
| - namespaces |
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: v1 | |
| kind: ServiceAccount | |
| metadata: | |
| name: calico | |
| namespace: kube-system | |
| --- | |
| apiVersion: rbac.authorization.k8s.io/v1beta1 | |
| kind: ClusterRoleBinding | |
| metadata: |