RE: no environment variables in standalone container

2021-03-03 Thread Marc



> 
> {
>   "type": "rbd.csi.ceph.io",
>   "uris": [
> { "value": "file:///usr/libexec/csi/config.json", "cache": false }
>   ],
>   "environment": {
> "variables": [
>   {"name":"CSI_DEFUSERID","type":"VALUE","value":""},
>   {"name":"CSI_DEFUSERKEY","type":"VALUE","value":""}
>   ]},
>   "containers": [
> {
>   "services": [ "NODE_SERVICE" ],
>   "command": {
 
should be here

> "value": "/usr/libexec/csi/csiceph -endpoint $CSI_ENDPOINT -
> nodeid $HOSTNAME -type rbd -drivername ceph-csi-rbd -v 10 -
> log_file=./csiceph-plugin.log -logtostderr=false"
>   },
>   "resources": [
> {"name": "cpus", "type": "SCALAR", "scalar": {"value": 0.1}},
> {"name": "mem", "type": "SCALAR", "scalar": {"value": 256}},
> {"name": "disk", "type": "SCALAR", "scalar": {"value": 10}}
>   ]
> }
>   ]
> }


no environment variables in standalone container

2021-03-03 Thread Marc


I am testing a bit with the standalone containers used for csi. But it looks 
like these variables are not available. Do I have to enable something on the 
slave or so? Or is this config not correct?


{
  "type": "rbd.csi.ceph.io",
  "uris": [
{ "value": "file:///usr/libexec/csi/config.json", "cache": false }
  ],
  "environment": {
"variables": [
  {"name":"CSI_DEFUSERID","type":"VALUE","value":""},
  {"name":"CSI_DEFUSERKEY","type":"VALUE","value":""}
  ]},
  "containers": [
{
  "services": [ "NODE_SERVICE" ],
  "command": {
"value": "/usr/libexec/csi/csiceph -endpoint $CSI_ENDPOINT -nodeid 
$HOSTNAME -type rbd -drivername ceph-csi-rbd -v 10 
-log_file=./csiceph-plugin.log -logtostderr=false"
  },
  "resources": [
{"name": "cpus", "type": "SCALAR", "scalar": {"value": 0.1}},
{"name": "mem", "type": "SCALAR", "scalar": {"value": 256}},
{"name": "disk", "type": "SCALAR", "scalar": {"value": 10}}
  ]
}
  ]
}


mesos docs / tutorials

2021-03-03 Thread Marc
 
What is going to be done with the mesos docs like:
 http://mesosphere.io/learn