@Puteulanus2年前
2017.12.7 更新:
Coding 和 Bluemix 的连接好像已经不大稳定了,可以去 codenvy.io 部署,需要注册。
创建
的时候选 Blank:创建完会有一个 Terminal 窗口,注意新注册的账号的集群可能是德国的,执行的时候要加 de 参数。
感觉窗口小的话可以双击 Terminal 那个标签页,跑完和 Coding 那边是一样的。
2017.10.28 更新:
加了 bbr 参数,和地区的参数一个用法,比如悉尼地区的的话在命令后边加 au bbr 就行,不加默认不用。
2017.10.27 更新:
在面板上创建的部署,在 编辑YAML 中下图的位置插入一个 array ,名字“externalIPs”,成员 0 为节点的公共 IP,点击更新之后就可以使用容器本身设置的端口了,这个端口不受 NodePort 的范围限制,可以使用低位端口,比如 80 和 443。
脚本里创建的 SS 的端口改到 443 了。
2017.10.21 更新:
加了区域的参数,无参数直接执行默认美国南部,其他仨区域用参数 au、uk、和 de。
使用的时候简单加在命令后边,比如部署悉尼区域的话,写成这样:
bash <(curl -Ls http://url.cn/4CIc8M7) au
就行了。
可能因为 Bluemix 政策有调整,美国南部区域现在已经没法创建集群了。
KCP 的创建可以参考 这里 ,同理管理面板上也可以运行其他程序的镜像。
分割线。
Bluemix 把 Docker 停止使用了,老脚本彻底变成历史。。
新的 Kubernetes 现在新用户可以免费体验(属于 Lite 可以免费使用的范围),不知道以后会不会变,不过试了下感觉倒是真蛮好用的。。
在执行脚本之前,你需要有一个 Bluemix 账号,并且完成了 Kubernetes 集群的创建与部署,注意那个部署可能长达好几个小时,必须等节点状态变成就绪了才能开始跑脚本。
创建入口在右上角的目录里:
点进去之后在左边找到容器:
然后点 Kubernetes Cluster:
设置都默认,名字随意就行:
创建完就可以干别的去了,隔几个小时看看咋样了。
就绪的画风是这样的:
然后咱们开始跑脚本嗯。
运行还是用 Coding 的 Web IDE,现在好像得注册了,注册完在它 Web IDE 那个页面登陆一下,然后再打开 WordPress 的试用链接(登陆进去好像也有开始试用的按钮)等那个猴子载入一会儿就能看到 Web IDE 的页面了。
不知道是 Coding 的问题还是我的问题,反正我这儿新版是崩的,和我一样的可以点右上角那个切换到旧版。
终端在左下角,点击展开之后用鼠标双击一下标签旁边灰色的栏(奶黄色区域上边那个)可以让终端最大化。
弄完是这样的:
然后在里边粘贴:
bash <(curl -Ls http://url.cn/4CIc8M7)
敲回车,它等一下会让你输账号密码,输入 Bluemix 的账号密码。
输入密码的时候是关闭了回显的,输入的东西看不到,盲着打完按回车就行了。
注意别输错了,老脚本这儿是 Bluemix CLI 的登陆,输错了还有个请重输,新脚本这儿是变量赋值,错了后边会直接崩的。
输完可以看它慢慢滚屏,或者去干点别的,跑完可能要个五六分钟的样子。
跑完是这个样子的:
管理面板的地址请复制下来存好,里面包含一个随机生成的 12 位字符串,相当于密码,在页面关闭后没有其他途径可以找回。
好吧其实 SS 密码也是无法找回的。。不过忘了的话你可以在面板上重新开个 SS 容器,面板那个要没存的话大概就只能删集群再跑一次脚本了。
手机 SS 客户端如果有扫码添加的功能的,可以把二维码地址复制到浏览器打开,直接扫码添加。
注意事项:
管理面板中的 kube 是维持这个“管理面板”访问的容器,没什么特别需求建议不要修改配置。
ss 就是跑 SS 的容器,如果需要使用别的 SS 版本,加密方式,一次验证什么的,可以把它删了,然后在管理面板中按照需求重新创建容器。如果需要 kcptun 之类的也可以在面板上创建相应的容器,然后添加服务就可以让公网访问到了。
新版 Bluemix 一键搭建 SS 脚本
-
Google Chrome 59
Windows
-
Google Chrome 59
Windows
求助,跟楼上的问题一样,Kubernetes Cluster 是就绪的状态。
-
Google Chrome 59
Android 8.0.0
给我个邮箱不会私信
-
Google Chrome 59
GNU/Linux x64
没了
-
Google Chrome 53
Windows
弄完没报错。。可是面板无法访问和SS无法使用怎么破??
-
Google Chrome 60
Windows 7
感谢博主写的文章以及提供的脚本。尝试多次终于成功。前几次失败的原因很简单,因为设置的密码含有特殊字符,导致 bash 运行出错……
-
Google Chrome 59
Windows 7
在coding.net上运行提示:
unauthorized: You have exceeded your storage quota. Delete one or more images, or review your storage quota and pricing plan
似乎是coding.net 有限制。在其他VPS上运行提示同顶楼:
The connection to the server localhost:8080 was refused – did you specify the right host or port?-
Google Chrome 59
Windows 7
unauthorized: You have exceeded your storage quota. 是bluemix的提示。
-
-
Safari
iPhone iOS 10.3
博主谢谢你的教程!您是否考虑将kcp 加入进脚本中?
-
Google Chrome 61
Windows 7
博主您好。国庆快乐。
我设置好bluemix后coding出现错误进行不下去。下面是log,卡在了最后一行。好几次了都是这样。重新申请账号也不行。请问是什么情况导致的??谢谢
Installing version ‘0.6.0’…
Downloading…
12.47 MiB / 12.47 MiB [==================================================================================] 100.00% 3m45s
13071206 bytes downloaded
Saved in /home/coding/.bluemix/tmp/bx_740392019/Bluemix_CLI_0.6.0_amd64.tar.gz
Do you want to launch CLI installer? (yes/no) [yes]>Copying files …
The Bluemix Command Line Interface (Bluemix CLI) is installed successfully.
To get started, open a new Linux terminal and enter “bluemix help”, or enter “bx help” as short name.With Bluemix CLI 0.4.0 or later, the CLI can automatically collect diagnostic and usage information and send it to Bluemi
x for analysis.
This information will help us better understand current client usage and plan for future use. No personally identifiable
data is collected.To stop collecting information, you can run the following command:
‘bluemix config –usage-stats-collect false’
FAILED
Incomplete configuration detected. Use ‘bx login’ to relogin and try again.‘cs’ is not a registered command. See ‘bx help’.
The connection to the server localhost:8080 was refused – did you specify the right host or port?
The connection to the server localhost:8080 was refused – did you specify the right host or port? -
Google Chrome 61
Windows
Unable to use a TTY – input is not a terminal or the right kind of file
bash: build.sh: No such file or directory
Error from server (NotFound): services “kube” not found
Error from server (NotFound): services “ss” not found
–2017-10-03 06:16:41– https://coding.net/u/tprss/p/bluemix-source/git/raw/master/v2/cowsay
Resolving coding.net (coding.net)… 123.59.89.203, 123.59.89.69, 123.59.89.123, …
Connecting to coding.net (coding.net)|123.59.89.203|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [text/plain]
Saving to: ‘cowsay’这是错误
-
Google Chrome 61
Windows
这个问题我解决了 可以提供一份带kcp的加入脚本么
-
Google Chrome 61
Windows 7
可以自己加入kcp
-
-
Google Chrome 61
Windows
docker build -t registry.ng.bluemix.net/$NS/kube .
while ! bx cr image-list | grep -q “registry.ng.bluemix.net/$NS/kube”
do
docker push registry.ng.bluemix.net/$NS/kube
done
47200820544: Waiting
d5d3fcc2ea61: Preparing
9d45b6289443: Waiting
d5d3fcc2ea61: Waiting
f838c5a0c7b0: Preparing
f838c5a0c7b0: Waiting
d5d3fcc2ea61: Waiting
5bef08742407: Preparing
5bef08742407: Waiting
f838c5a0c7b0: Waiting
本来以为好了 一直疯狂报错-
Google Chrome 61
Windows
我也是遇到这个bug,有办法吗?
-
-
Google Chrome 61
Windows 7
今天最新的消息。估计不能用了。新申请号码后申请容器出现以下提示:
————————————–
错误无法创建集群。
Lite clusters cannot be created in this region in a trial account. Upgrade your account to create a lite cluster: https://console.bluemix.net/docs/pricing/billable.html#upgradetopayg.
事件标识:3583e5ff-1f31-4eba-a702-e99300258b24
—————————————-
估计限制地区使用了-
Google Chrome 61
Android 8.0.0
用完了
-
Google Chrome 61
Android 7.1.1
并不是用完了。是新申请的号
-
Google Chrome 61
Android 8.0.0
我老账号也一样的 只有伦敦
-
Google Chrome 61
Android 7.1.1
您的意思是换成其他区域就可用??
-
-
-
-
-
Google Chrome 60
Windows
帮改一个不同API的脚本呗。只改api地址不能用。
-
Google Chrome 61
Windows
bash <(curl -Ls https://coding.net/u/shiggg/p/bluemix-source/git/raw/master/v2/start.sh)
试试我这个,一切ok。
不行就多试几次。
多次不行改天再试。-
Google Chrome 61
Android 7.1.1
任何区域都可以用吗
-
Google Chrome 61
Windows
每个区域都写了,syd是最快的。
-
-
Google Chrome 61
GNU/Linux x64
我又出现那个bug了 us地区
1
bash
×118×21
8b886f2a6520: Waiting
36e839ca0c60: Waiting
5ab852352dcc: Waiting
dbb20236436d: Waiting
5bef08742407: Waiting
unauthorized: You have exceeded your storage quota.
Delete one or more images,
or review your storage quota and pricing plan
49f6b4559966: Waiting
The push refers to a repository [registry.ng.bluemix.net/f211de1089fe8b93/kube]
38a4494a3998: Preparing
b1f0ae5b0296: Preparing
409c8538718b: Preparing
9b39d6539c8b: Preparing
49f6b4559966: Preparing
8b886f2a6520: Preparing
36e839ca0c60: Preparing
36e839ca0c60: Waiting
9b39d6539c8b: Waiting
49f6b4559966: Waiting
8b886f2a6520: Waiting
我用你的脚本改 或者用博主的一样疯狂报错 -
Google Chrome 62
Windows
你好!
我把集群删除后重新创建后脚本运行就不行了,登陆直接就指到密码,用户名无法输入,不知怎么回事
-
-
-
Google Chrome 61
Windows
期待博主更新
-
Google Chrome 61
Windows 7
请问你们大家现在管理面板能访问吗?我这几天访问不了,bluemix仪表板和ss是正常的。
-
Google Chrome 61
Windows 7
可以访问
-
Google Chrome 55
Windows
我跟你情况一样 而且配置不了
-
Google Chrome 61
Windows 7
可能是管理面板容器kube出错,日志显示:http: proxy error: failed to refresh token: oauth2: cannot fetch token: 400 Bad Request
现在只能用http://127.0.0.1:8001/ui 访问管理面板,有点麻烦。
-
-
-
Google Chrome 62
Windows
你好,现在美国创不了
你这个脚本怎么改区呢?
谢谢。 -
Google Chrome 44
Android 6.0.1
用bx cs cluster-config mycluster之后出现the client is not yet configured怎么解决?
-
Google Chrome 62
Windows
2017-10-22 02:42:28 (3.72 MB/s) – ‘caddy.tar.gz’ saved [5616672]
invalid argument “registry..bluemix.net/9ddb4c46535093f3/kube” for t: invalid reference format
See ‘docker build –help’.
invalid reference format
invalid reference format
invalid reference format一直这样了
请问应该怎么弄了,我用的是uk区。 -
Google Chrome 57
Windows
悉尼地区成功创建,感谢大神
-
Google Chrome 61
Windows
老哥真是稳啊,不过问一句,万一忘了ss密码的话,删了容器应用重建时那一堆参数怎么填00,怎么知道新ss容器的端口密码什么的
-
Google Chrome 61
Windows
怎么改ssserver的协议和加密…
能在ss容器里运行命令行…但是那个镜像里面的ssserver停止不掉啊..也没找到配置文件 -
Google Chrome 62
Windows
请问新建ss的话,要怎么配置了,我看可樱花的教程,还是没有明白怎么设置密码这一些数据。我想弄一个V2Ray 上去,但是不知道密码等参数应该怎么弄?
谢谢 -
Google Chrome 61
Windows 7
郁闷闷w
-
Google Chrome 54
Windows
老哥,我在面板里面试图删除VPN,结果一直卡在那里,现在面板进不去了,试了kubectl proxy 也不行,请问有其他方法吗?o(* ̄︶ ̄*)o
-
Google Chrome 61
Windows
能不能自定义端口?不要固定443,或者恢复以前的3xxxxx的端口?我这里443反而容易被封啊
-
Google Chrome 61
Windows
哦,比如你的配图,443和32632一样吗?谢谢啦
-
Firefox 56
Windows
Plugin version 0.1.360 is now available. To update run: bx plugin update container-service -r Bluemix
Using default API endpoint: https://ap-south.containers.bluemix.net
OK
/proc/self/fd/11: line 62: kubectl: command not found
/proc/self/fd/11: line 63: kubectl: command not found
/proc/self/fd/11: line 64: kubectl: command not found -
Google Chrome 57
Windows
请问创建的centos镜像怎么进去,我想在里面练习linux。还有,我在win10上安装xshell5,除了第一次可以开启,后面都是卡死,cpu占99%,关了进程就好,有解决方法吗?能发我邮箱最好,感谢!
-
Google Chrome 61
Windows
厉害啊,比我自己折腾的省心多了还稳定。之前我自己搞的用了半个小时就连不上了,也没找出啥毛病。多谢了。不过还想问一句这个搭建后可以自己设置或者改密码吗?随机密码太长了记不住……
-
Google Chrome 62
Windows
大佬,貌似悉尼地区的任然不可以啊,我用的是自己的VPS,最后会出现:
The connection to the server localhost:8080 was refused – did you specify the right host or port?
具体过程可以看我导出的pdf:http://t.cn/Rj8swiY
另外,用coding.net的webIDE也会出现这个错误。 -
Google Chrome 62
Mac OS X 10.12.6
expose 不成功,貌似免费的只有一个 node 的方案不能用 LoadBalancer 的方式,但是 NodePort 外网又无法访问 🙁
Warning CreatingLoadBalancerFailed 19s (x3 over 34s) service-controller Error creating load balancer (will retry): Failed to create load balancer for service default/kube: Error on cloud load balancer a24759c1 for service default/kube with UID 24759c: Failed to get available cloud provider IPs for load balancer services: Clusters with one node must use services of type NodePort. See https://console.ng.bluemix.net/docs/containers/container_index.html for details.
-
Safari
iPhone iOS 10.3
你好,大大,请问1,脚本bbr 参数是直接修改内核的bbr设置吗?cluster 集群不是共享内核吗?也有权限修改内核参数?
2 开启之后速度有很大提升吗?
3,现在通过添加信用卡升级账户永久使用的这种方法用不了了吗? -
Google Chrome 62
Windows
Using default API endpoint: https://eu-central.containers.bluemix.net
OK
Unable to connect to the server: dial tcp 159.8.86.149:24333: i/o timeout
Unable to connect to the server: dial tcp 159.8.86.149:24333: i/o timeout
Unable to connect to the server: dial tcp 159.8.86.149:24333: i/o timeout -
Google Chrome 62
Windows
现在又改版了,是不是又不行了呀?
我也是这个问题
Using default API endpoint: https://eu-central.containers.bluemix.net
OK
Unable to connect to the server: dial tcp 159.8.86.149:24333: i/o timeout
Unable to connect to the server: dial tcp 159.8.86.149:24333: i/o timeout
Unable to connect to the server: dial tcp 159.8.86.149:24333: i/o timeout -
Google Chrome 62
Windows
Using default API endpoint: https://eu-central.containers.bluemix.net
OKUnable to connect to the server: dial tcp 159.8.86.149:26804: i/o timeout
Unable to connect to the server: dial tcp 159.8.86.149:26804: i/o timeout -
Google Chrome 57
Windows
申请美国南部api,结果显示是德国地区,ip地址显示在美国,很困惑。在部署ss时,和楼上一样出现问题Unable to connect to the server: dial tcp 159.8.86.149:24333: i/o timeout
不知博主有何见解? -
Google Chrome 62
Windows
能出一个SSR的脚本吗?
-
Google Chrome 62
Windows
一直滚动这个
The push refers to a repository [registry.eu-de.bluemix.net/del_a095589867766f91/kube]
An image does not exist locally with the tag: registry.eu-de.bluemix.net/del_a095589867766f91/kube-
Google Chrome 62
Windows
楼主的代码需要更新了。。。
-
-
Google Chrome 62
Windows
有时候行,有时候不行。看运气。。。
Step 1/11 : FROM alpine:latest
latest: Pulling from library/alpine
2fdfe1cd78c2: Pulling fs layer
2fdfe1cd78c2: Verifying Checksum
2fdfe1cd78c2: Download complete
2fdfe1cd78c2: Pull complete
Digest: sha256:ccba511b1d6b5f1d83825a94f9d5b05528db456d9cf14a1ea1db892c939cda64
Status: Downloaded newer image for alpine:latest
—> e21c333399e0
error creating aufs mount to /var/lib/docker/aufs/mnt/e405d5524f9e54cd4d81137c181d4d824e8444d55ca8a685891f89a66ba84b08-init: invalid argument
Step 2/11 : RUN apk add –update ca-certificates
The push refers to a repository [registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube]
An image does not exist locally with the tag: registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube
An image does not exist locally with the tag: registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube
The push refers to a repository [registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube]
An image does not exist locally with the tag: registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube
The push refers to a repository [registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube]
An image does not exist locally with the tag: registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube
The push refers to a repository [registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube]
An image does not exist locally with the tag: registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube
The push refers to a repository [registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube]
An image does not exist locally with the tag: registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube
The push refers to a repository [registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube]
An image does not exist locally with the tag: registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube
The push refers to a repository [registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube]
An image does not exist locally with the tag: registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube
The push refers to a repository [registry.eu-gb.bluemix.net/del_e5e600fff6bafdd3/kube] -
Firefox 52
GNU/Linux x64
脚本跑到:
pod “build” created
然后显示:
command terminated with exit code 6
Unable to use a TTY – input is not a terminal or the right kind of file———–
\ ^__^
\ (oo)\_______
(__) )\/\
||—-w |
|| ||
SS:
IP: curl: (6) Could not resolve host: whatismyip.akamai.com; Unknown error
Port: 443
Password: d636d4499065
Method: aes-256-cfb
该如何解决?劳烦大神了! -
Firefox 52
GNU/Linux x64
用tee得到错误详情:
Using default API endpoint: https://containers.bluemix.net
OK
pod “build” deleted
pod “build” created
command terminated with exit code 6
Unable to use a TTY – input is not a terminal or the right kind of file
/bin/bash: line 2: syntax error near unexpected token `(‘
/bin/bash: line 2: `bash build.sh del_97347 dUh2OWQ4c1Mxb2xwRXJkQmE4VUxJcFRvUmFWZXB6YkpjT2JoMWFSX0hvN04K c829e24d2942 266033bc5435 eu-de curl: (6) Could not resolve host: whatismyip.akamai.com; Unknown error
true’
command terminated with exit code 2
–2017-12-18 13:23:19– https://coding.net/u/tprss/p/bluemix-source/git/raw/master/v2/cowsay
Resolving coding.net (coding.net)… 123.59.94.101, 180.150.189.170, 106.75.122.177, …
Connecting to coding.net (coding.net)|123.59.94.101|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [text/plain]
Saving to: ‘cowsay.10’0K …. 59.1M=0s
2017-12-18 13:23:21 (59.1 MB/s) – ‘cowsay.10’ saved [4421]
[H[J
___________———–
\ ^__^
\ (oo)\_______
(__) )\/\
||—-w |
|| ||管理面板地址: http://curl: (6) Could not resolve host: whatismyip.akamai.com; Unknown error
/c829e24d2942/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard/SS:
IP: curl: (6) Could not resolve host: whatismyip.akamai.com; Unknown error
Port: 443
Password: 266033bc5435
Method: aes-256-cfb
总之还是不行. -
Google Chrome 63
Mac OS X 10.13.1
沙发~赞
-
uBrowser 6
Windows
什麽時候能好呢 還在抽風?
-
Google Chrome 63
Windows 7
请问能不能通过修改YAML使bbr同时加速其他容器的端口(端口段)?我ubuntu容器里面的SS运行很久了,改了要通知用的几个朋友,如果能直接加速最好。
-
Yandex.Browser 17
Mac OS X 10.12.6
您好,现在还方便协助搭建部署吗?麻烦了!谢谢
-
Google Chrome 63
Windows 7
通过添加externalIPs选项好像对SSH的22端口是无效的?另外我建立容器的时候映射了很多的TCP端口,我试着在YAML里面把端口TCP改成UDP貌似也不行,貌似不能同时存在TCP和UDP映射?
-
Google Chrome 55
Windows
30天不到,集群莫名其妙被删除了。。定价中也没有找到关于之前说明的256mb免费
-
Google Chrome 55
Windows
发现的漏洞软件包
View Docs
过滤器
过滤器
软件包状态 软件包 漏洞 纠正行动
易受攻击
busybox 1 Upgrade to busybox 1.26.2-r9
items per pageitems per page |
1-1 of 1 items
1 of 1 pagesPage Number
1发现的配置问题
View Docs
过滤器
过滤器
通过/失败检查 安全性实践 纠正行动
检查失败
File /etc/login.defs not found
Maximum password age must be set to 90 days.
检查失败
File /etc/pam.d/common-password not found
Minimum password length must be 8.
检查失败
File /etc/login.defs not found
Minimum days that must elapse between user-initiated password changes should be 1.-
Google Chrome 55
Windows
我的记录中还存在这些信息,但是被删除了
-
-
Yandex.Browser 17
Mac OS X 10.12.6
您好,想问一下之前好像反复创建了Cloud Foundry 组织,现在一个账户下共有4个Cloud Foundry 组织这会有啥不好影响吗?然后一直也删除不掉不想用的Cloud Foundry 组织。在IBM Bluemix Container Service 里看到是instance_hours118.45608,是快用到限量了吗?想知道只是跑ss会不会超过限量?谢谢了。
-
Safari
iPhone iOS 10.3
我刚试了一下,新注册的提示要升级帐户才能创建集群,您知道有什么解决办法吗
-
Safari
iPhone iOS 10.3
只能绑定信用卡了吗?目前还有哪些虚拟信用卡可以绑定成功的
-
-
Google Chrome 63
Windows
为什么 管理面板地址 打不开了?
-
Google Chrome 63
Windows 7
现在可以重建集群了。
-
Google Chrome 64
Windows 7
服务器端升级了,现在控制面板页面打不开了,我在本地重新下载配置文件倒是可以正常使用,试着用脚本重新部署会失败,等大大升级脚本
-
Google Chrome 64
Windows
重新跑了一遍也打不开控制面板了
-
-
Firefox 58
Windows
Sending build context to Docker daemon 113.3MB
Error response from daemon: Dockerfile parse error line 6: ADD requires at least two arguments, but only one was provided. Destination could not be determined.
An image does not exist locally with the tag: registry.au-syd.bluemix.net/del_*******************/kube
The push refers to repository [registry.au-syd.bluemix.net/del_*******************/kube]An image does not exist locally with the tag: registry.au-syd.bluemix.net/del_*******************/kube
The push refers to repository [registry.au-syd.bluemix.net/del_*******************/kube]
The push refers to repository [registry.au-syd.bluemix.net/del_*******************/kube]
-
Firefox 58
Windows
又好了
晕 -
Google Chrome 64
Windows
刚注册新用户,发现已经不能免费创建容器了。绝版了吧。
-
Firefox 58
Windows
大大,会讲解这个脚本么?
看的云里雾里的。
你的脚本http://url.cn/4CIc8M7,
装了kubernetes管理,
用build.yaml装了个alpine
在这个alpine里面又运行一个脚本
https://gist.githubusercontent.com/anonymous/dcc43cd069ad77453768f8505f73c836/raw/e930391795ea1c7af36306b098285bb12ebc89c4/build.sh
这个脚本又装了kubernetes管理。
注册kube镜像
注册SS镜像
虽然部署也挺快。但是能不能整合呢?
两个脚本里都有443端口,想改端口的话,改哪个?本来是学bluemix部署的。
快速部署Cloud Foundry Apps样本程序,被墙。
就找到你这里了。还有就是会不会考虑升级到SSR呢。
-
Firefox 58
Windows
看到大大在做自动签到。
https://github.com/binux/qiandao
这个项目可以去看看。顺便问下,bluemix kubernetes 持续化存储有研究么?
-
Google Chrome 64
Windows 7
https://imgchr.com/i/9NxjVe
一闪而过的错误,来不及复制,只能抓图,大大看看是啥问题 -
Google Chrome 64
Windows 7
Error from server (Forbidden): deployments.extensions is forbidden: User “system:serviceaccount:default:default” cannot create deployments.extensions in the namespace “default”
Error from server (Forbidden): deployments.extensions “ss” is forbidden: User “system:serviceaccount:default:default” cannot get deployments.extensions in the namespace “default”
这又是啥错误? -
Google Chrome 64
Windows 7
大大能不能做一个只生成管理面板的脚本,现在服务器升级后在本地架设管理面板都非常麻烦
-
Google Chrome 64
Mac OS X 10.11.5
为什么用脚本创建出来的端口是443?
我之前自己搭时都是30000+是不是用了个老脚本?
SS:
IP: 184.173.1.146
Port: 443 -
Google Chrome 64
Windows
最近 bx login 都没法登陆了,把国内屏蔽了么
-
Google Chrome 64
Windows
zAPI endpoint: https://api.ng.bluemix.net (API version: 2.92.0)
Region: us-south
Not logged in. Use ‘bx login’ to log in.
FAILED
Get https://accountmanagement.ng.bluemix.net/v1/accounts: dial tcp 31.13.72.34:443: i/o timeout登陆失败 怎么破
-
-
Google Chrome 58
Windows
Step 6/11 : ADD ca-mel01-auss.pem /root/.kube/
—> 98a0c082c12f
Step 7/11 : ADD caddy /usr/local/bin/
ADD failed: stat /var/lib/docker/tmp/docker-builder938025022/caddy: no such file or directory
An image does not exist locally with the tag: registry.au-syd.bluemix.net/del_b4231081e8767c1f/kube
The push refers to repository [registry.au-syd.bluemix.net/del_b4231081e8767c1f/kube]
An image does not exist locally with the tag: registry.au-syd.bluemix.net/del_b4231081e8767c1f/kube
The push refers to repository [registry.au-syd.bluemix.net/del_b4231081e8767c1f/kube]
An image does not exist locally with the tag: registry.au-syd.bluemix.net/del_b4231081e8767c1f/kube
The push refers to repository [registry.au-syd.bluemix.net/del_b4231081e8767c1f/kube]
An image does not exist locally with the tag: registry.au-syd.bluemix.net/del_b4231081e8767c1f/kube前面都正常,后面一直反复出现这个错误,不知道是啥原因。
-
Google Chrome 58
Windows
又跑了一遍,发现了更前面的一个错误:
Connecting to caddyserver.com (138.68.240.78:443)
wget: server returned error: HTTP/1.1 400 Bad Request
tar: can’t open ‘caddy.tar.gz’: No such file or directory
chmod: ./caddy: No such file or directory连接不上 caddyserver.com。
是用 codenvy.io 部署的。
-
Google Chrome 65
Windows
caddy下载要许可证了,所以脚本失效了,要把caddy下载链接改成下面的就行了https://caddyserver.com/download/linux/amd64?license=personal
-
Google Chrome 65
Windows
前面运行正常,到push docker 时就出错了:
Error from server (Forbidden): deployments.extensions is forbidden: User “system:serviceaccount:default:default” cannot create deployments.extensions in
ce “default”
Error from server (Forbidden): deployments.extensions “kube” is forbidden: User “system:serviceaccount:default:default” cannot get deployments.extension
espace “default”不同时间跑了几次都是这样。后面的push也现这种错误。
不知道是不是IBM又有变化了 -
Google Chrome 58
Windows
问题应该出在 RBAC for default ServiceAccount 上,从 k8s 1.7 开始,The administrator ClusterRoleBinding for the default ServiceAccount in the default namespace is removed to improve cluster security. Applications that run in the default namespace no longer have cluster administrator privileges to the Kubernetes API, and might encounter RBAC DENY permission errors. Check your app and its .yaml file to see whether it runs in the default namespace, uses the default ServiceAccount, and accesses the Kubernetes API.
现在BlueMix新建的免费集群的 k8s 版本是 1.8.8 的
-
Google Chrome 58
Windows
简单的临时解决办法,但不安全:
kubectl create clusterrolebinding permissive-binding \
–clusterrole=cluster-admin \
–user=admin \
–user=kubelet \
–group=system:serviceaccounts跑了一次,一切正常,面板也正常
规范的方式没有去研究,我是门外过程,基本啥也不懂,只能看大佬了
-
Google Chrome 65
Windows 7
Successfully built d6f1d3d4283b
Successfully tagged registry.au-syd.bluemix.net/del_3adc542c0b7d2aa8/ss:latest
The push refers to repository [registry.au-syd.bluemix.net/del_3adc542c0b7d2aa8/ss]
9085893dcc53: Preparing
2aebd096e0e2: Preparing
2aebd096e0e2: Pushed
9085893dcc53: Pushed
latest: digest: sha256:846f91827449f864229eaead4ed75450820ba13010aedb77ea9d94a8da1f3eec size: 739
Error from server (Forbidden): deployments.extensions is forbidden: User “system:serviceaccount:default:default” cannot create deployments.extensions in
the namespace “default”
Error from server (Forbidden): deployments.extensions “ss” is forbidden: User “system:serviceaccount:default:default” cannot get deployments.extensions
in the namespace “default”
Error from server (Forbidden): deployments.extensions “ss” is forbidden: User “system:serviceaccount:default:default” cannot get deployments.extensions -
Google Chrome 65
Windows 7
报这个,最新人脚本。
-
Google Chrome 58
Windows
基本解决了权限问题,下面的链接都可以用,分别对应不同的 k8s 版本,没标版本的,各CLI都是最新版:
bash <(curl -Ls https://coding.net/u/jogolor/p/bluemix-source/git/raw/master/v2/start.sh)
bash <(curl -Ls https://coding.net/u/jogolor/p/bluemix-source/git/raw/master/v2/start188.sh)
bash <(curl -Ls https://coding.net/u/jogolor/p/bluemix-source/git/raw/master/v2/start193.sh)
参数跟大佬以前做的一样,包括地区参数与BBR参数,默认为美国南部,默认不加BBR
-
Google Chrome 58
Windows
先设置Permissive RBAC Permissions,docker push 完成后 删除(kubectl delete clusterrolebinding permissive-binding);
然后设置 service accounts 在集群上的只读权限,方便查看面版:kubectl create clusterrolebinding serviceaccounts-view \
–clusterrole=view \
–group=system:serviceaccounts \-
Google Chrome 58
Windows
不需要查看面版的话,则不用设置 service accounts 在集群上的只读权限。
重复跑脚本的话,第二次及以后会报错,说权限已设置(第一次设置service accounts 在集群上的只读权限后没删的缘故),不影响脚本运行,结果正确。
不懂怎样避免输出错误信息,就不折腾了。
-
Google Chrome 65
Windows 7
高手,能否帮忙下,留个QQ,或者加我QQ下
QQ:24539258
谢谢-
Google Chrome 58
Windows
权限问题,上面的脚本已经解决问题了
-
-
-
-
-
Google Chrome 58
Windows
做了一个简单的权限管理脚本
https://coding.net/u/jogolor/p/bluemix-source/git/raw/master/v2/admin.sh-
Google Chrome 64
Windows
dalao!权限脚本运行一次就好吗?
-
Google Chrome 58
Windows
管理 Permissive RBAC Permissions
创建:bash <(curl -Ls https://coding.net/u/jogolor/p/bluemix-source/git/raw/master/v2/admin.sh)
删除:bash <(curl -Ls https://coding.net/u/jogolor/p/bluemix-source/git/raw/master/v2/admin.sh) del
默认区域为美国南部。创建悉尼的Permissive RBAC Permissions,应加参数 au;删除悉尼的Permissive RBAC Permissions,应加参数 au del。其他区域,依此类推。
默认给予所有服务账户在所有名空间上的只读(view)权限,如果只是查看面版,则不再需要管理 Permissive RBAC Permissions。 -
Google Chrome 58
Windows
这里有说明:https://coding.net/u/jogolor/p/bluemix-source/git/tree/master/v2
-
-
-
Google Chrome 64
Windows
今天系统显示所有节点expired,bluemix要把k8s都删掉了。这个优秀的脚本即将变成历史。
-
Google Chrome 59
Windows 7
现在新版集群搭建显示只能用一个月了,不知是否有限制了?
-
Google Chrome 67
Windows 7
现在重新部署报:
error: the server doesn’t have a resource type “rs”-
Google Chrome 67
Windows 7
我现在修改的脚本能正常了,一天的时间耗在这上面了!
bash <(curl -Ls https://raw.githubusercontent.com/lhpmain/bluemix/master/start.sh) au bbr
-
-
Google Chrome 67
Windows 7
没有人关注这个了吗?
-
Google Chrome 67
Windows
现在还能部署吗?
-
Google Chrome 69
Windows
现在还能用吗?尽管只有一个月,也还是不错的啊
求助~~~~~
你好,中间总是提示:
The connection to the server localhost:8080 was refused – did you specify the right host or port?
The connection to the server localhost:8080 was refused – did you specify the right host or port?
The connection to the server localhost:8080 was refused – did you specify the right host or port?
The connection to the server localhost:8080 was refused – did you specify the right host or port?
The connection to the server localhost:8080 was refused – did you specify the right host or port?
然后脚本继续往后跑,出来的结果就没有IP
管理面板地址: http://:/e2c35e5c77a1/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard/
SS:
IP:
Port:
Password: 722910aa299e
Method: aes-256-cfb
快速添加: ss://YWVzLTI1Ni1jZmI6NzIyOTEwYWEyOTllQDo=
二维码: http://qr.liantu.com/api.php?text=ss://YWVzLTI1Ni1jZmI6NzIyOTEwYWEyOTllQDo=
这是什么原因啊?