I have Container Linux by CoreOS alpha (1325.1.0) Installed on a pc at home.
I played with kubernetes for a couple of month, but now after reinstalling ContainerOS and trying to install kubernetes using my fork at https://github.com/kfirufk/coreos-kubernetes I fail to properly install kubernetes.
I use hyperkube image v1.6.0-beta.0_coreos.0
.
the problem is that it seems that hyperkube doesn't try to initiate any manifests from /etc/kubernetes/manifests
. I configured kubelet to run with rkt.
when I run journalctl -xef -u …
将我的问题归结为最简单的情况,我使用Compute Engine和以下启动脚本:
#! /bin/bash
sudo useradd -m drupal
su drupal
cd /home/drupal
touch test.txt
Run Code Online (Sandbox Code Playgroud)
我可以在此命令后确认drupal用户是否存在,测试文件也是如此.但是我希望测试文件的所有者是'drupal'(因此是su).但是,当我将其用作启动脚本时,我仍然可以确认ROOT是文件的所有者:
意思是我的
su drupal
Run Code Online (Sandbox Code Playgroud)
不工作.sudo su drupal也没有任何区别.我正在使用Google Container OS,但在Debian 8图像上也是如此.
google-compute-engine google-cloud-platform containeros google-container-os