Comments (12)
非root用户吗?
from sealos.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Non-root user?
from sealos.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Non-root user?
是的用户名不是root,但是它具有root权限。
from sealos.
非root用户吗?
对非root用户,但具有root权限。
from sealos.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Non-root user?
For non-root users, but with root permissions.
from sealos.
看起来像是因为sudo -E 导致其没有正确找到Kubeconfig配置
from sealos.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It looks like sudo -E is causing it to not find the Kubeconfig configuration correctly
from sealos.
看起来像是因为sudo -E 导致其没有正确找到Kubeconfig配置
我的用户叫ctg,它的家目录是/home/ctg,但是他是root
[root@master ~]# pwd
/home/ctg
[root@master ~]# id
uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[root@master ~]#
from sealos.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Looks like it didn't find the Kubeconfig configuration correctly because of sudo -E
My user name is ctg, its home directory is /home/ctg, but he is root
[root@master ~]# pwd
/home/ctg
[root@master ~]# id
uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[root@master ~]#
from sealos.
看起来像是因为sudo -E 导致其没有正确找到Kubeconfig配置
我的用户叫ctg,它的家目录是/home/ctg,但是他是root [root@master ~]# pwd /home/ctg [root@master ~]# id uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 [root@master ~]#
[root@master ~]# more /etc/passwd
root:x:0:0:root:/root:/sbin/nologin
#root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
systemd-network:x:192:192:systemd Network Management:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
polkitd:x:999:998:User for polkitd:/:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
tss:x:59:59:Account used by the trousers package to sandbox the tcsd daemon:/dev/null:/sbin/nologin
redis:x:998:996:Redis Database Server:/var/lib/redis:/sbin/nologin
ctg:x:0:0::/home/ctg:/bin/bash
elasticsearch:x:1000:1000:es user:/home/elasticsearch:/sbin/nologin
from sealos.
ls $HOME/.kube 和ls /root/.kube看下
from sealos.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Check out ls $HOME/.kube and ls /root/.kube
from sealos.
Related Issues (20)
- BUG: Error: unknown command "initsystem" for "sealctl" HOT 8
- BUG: 使用 kubeadm certs renew all 证书还原成 365d HOT 20
- BUG: brief description of the bug HOT 13
- BUG: k8s + cilium cluster created using sealos. Uninstall problem HOT 3
- upgrade sealos cli version in import-save-sealos ci. HOT 2
- BUG: Error from server (BadRequest): error when creating "manifests/deploy.yaml": Deployment in version "v1" cannot be handled as a Deployment: json: cannot unmarshal number into Go struct field EnvVar.spec.template.spec.containers.env.value of type string
- BUG: When I wasn't using sealos cloud, it kept charging me. HOT 1
- Inquiry About Deploying NoCoDB on Sealos HOT 4
- Feature: Add flowise in the template market HOT 3
- Use the environment variable serviceSubnet, podSubnet cannot take effect HOT 12
- Error cherry-picking PR #4395
- Error: failed to init runtime, cluster image kubernetes version cannot be empty HOT 1
- Sealos usging envoy gateway HOT 1
- BUG: An error occurred when deploying k8s HOT 2
- BUG: k3s runtime reseNode cause panic
- sealos When deploying calico, it will scan the network card information of the host. It will look for the network card information starting with en and eth to obtain the IP. Can you add one starting with br? HOT 3
- Requirements for starting a cluster of version 1.27 or above
- sealos When installing the cluster, it prompts that pulling the image from registry.k8s.io failed. HOT 12
- BUG: metrics-server cannot be installed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sealos.