export OPENSHIFT_MEMORY=4192
vagrant up
vagrant ssh
## Check the GPU model | |
-------------------------------------- | |
# lspci -nn | grep VGA | |
00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8] | |
00:1e.0 VGA compatible controller [0300]: NVIDIA Corporation GM204GL [Tesla M60] [10de:13f2] (rev a1) | |
# you might need to do #yum install pciutils | |
## Check the kernel versions. Not all kernel versions are supported for drivers | |
------------------------------------------------------------------------------------- | |
# uname -r |
{ | |
"apiVersion": "v1", | |
"kind": "Template", | |
"labels": { | |
"application": "oshinko-java-spark", | |
"createdBy": "template-oshinko-java-build-dc" | |
}, | |
"metadata": { | |
"annotations": { | |
"description": "Create a buildconfig, imagestream and deploymentconfig using source-to-image and java spark source hosted in git", |
{ | |
"apiVersion": "v1", | |
"kind": "Template", | |
"labels": { | |
"application": "oshinko-pyspark", | |
"createdBy": "template-oshinko-pyspark-build-dc" | |
}, | |
"metadata": { | |
"annotations": { | |
"openshift.io/display-name": "PySpark", |
{ | |
"apiVersion":"v1", | |
"kind":"Template", | |
"template":"oshinko-webui", | |
"labels": { | |
"template": "oshinko-webui-template" | |
}, | |
"message": "A Oshinko Webui service has been created in your project.", | |
"metadata":{ | |
"name":"oshinko-webui", |
#!/bin/bash | |
# Check whether there is a passwd entry for the container UID | |
myuid=$(id -u) | |
mygid=$(id -g) | |
uidentry=$(getent passwd $myuid) | |
# If there is no passwd entry for the container UID, attempt to create one | |
if [ -z "$uidentry" ] ; then | |
if [ -w /etc/passwd ] ; then |
{ | |
"apiVersion": "v1", | |
"kind": "Template", | |
"template": "oshinko-webui-old", | |
"metadata": { | |
"name": "oshinko-webui-old", | |
"annotations": { | |
"openshift.io/display-name": "Oshinko-Webui", | |
"description": "", | |
"template.openshift.io/long-description": "", |
kind: Template | |
apiVersion: v1 | |
template: oshinko | |
metadata: | |
name: oshinko | |
objects: | |
- kind: Service | |
apiVersion: v1 | |
metadata: |
laptop>export OPENSHIFT_MEMORY=4192 | |
laptop>vagrant up | |
laptop>vagrant ssh | |
vm>cd /data/src/github.com/openshift/origin | |
vm>git fetch; git pull --rebase | |
vM>make clean build | |
vm>export PATH=/data/src/github.com/openshift/origin/_output/local/bin/linux/amd64:$PATH | |
vm>mkdir -p /root/o3/ |
/usr/bin/kubelet --logtostderr=true --v=0 --api_servers=http://127.0.0.1:8080 --address=0.0.0.0 --port=10250 --hostname_override=127.0.0.1 --allow_privileged=false | |
W0514 00:56:33.240057 5798 server.go:347] Could not load kubernetes auth path: stat /var/lib/kubelet/kubernetes_auth: no such file or directory. Continuing with defaults. | |
I0514 00:56:33.240174 5798 server.go:237] Using root directory: /var/lib/kubelet | |
I0514 00:56:33.240255 5798 manager.go:113] cAdvisor running in container: "/" | |
I0514 00:56:33.241045 5798 fs.go:87] Filesystem partitions: map[/dev/sda2:{mountpoint:/boot major:8 minor:2} /dev/mapper/fedora-home:{mountpoint:/home major:253 minor:2} /dev/mapper/fedora-root:{mountpoint:/ major:253 minor:1}] | |
I0514 00:56:33.247170 5798 manager.go:134] Machine: {NumCores:4 CpuFrequency:3600000 MemoryCapacity:16513347584 MachineID:f744655cf6e84a33bf18c2c2ba4a6659 SystemUUID:819C17B8-4452-CB11-8B93-CBEC07CDEC42 BootID:1d355f51-89b3-45f6-8913-d4f8256e9d30 Filesystems:[{Device:/dev/mapper/fedora- |