- 浏览: 96245 次
文章分类
最新评论
-
jXee:
<div class="quote_title ...
jee6 学习笔记 4 - CRUD 2: View Details, Primefaces row selection -
lgs0626:
求源码,兄弟给共享下吧
jee6 学习笔记 4 - CRUD 2: View Details, Primefaces row selection
### how to access k8s web console if it's still available
1. Run the proxy:
$ cd /c/tools/env-prod
$ ls -l
-rwxr-xr-x 1 John.Wang 1049089 85 May 14 14:45 prod.listAllPods.sh*
-rw-r--r-- 1 John.Wang 1049089 6146 Oct 4 2017 prod_cluster_config
$ kubectl --kubeconfig=prod_cluster_config --namespace=env-prod proxy
Starting to serve on 127.0.0.1:8001
2. Open the web console in your browser:
http://localhost:8001/ui
OR
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
YOU MUST CHANGE "https" to "http" in "https:kubernetes-dashboard". And the final url is as follows:
http://localhost:8001/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/
select your namespace, like "env-pod"
3. How to restart a pod?
>> Just "delete" the current pod: k8s would start a new pod for it.
kubectl --kubeconfig=test_cluster_config --namespace=env-qa delete pod order-service-5fbb59878d-qqqs9
### how to tail container log with kubectl
command: kubectl --kubeconfig=prod_cluster_config --namespace=env-prod logs pod-name --tail=50 [-f]
$ cd /c/tools/env-prod/
## find the pod-name by listing all the pods
$ kubectl --kubeconfig=prod_cluster_config --namespace=env-prod get pods | grep scheduling
NAME READY STATUS RESTARTS AGE
scheduling-service-6995d7fc67-zpdfm 1/1 Running 0 9d
## to tail 50 lines of the container's log and stop
$ kubectl --kubeconfig=prod_cluster_config --namespace=env-prod logs scheduling-service-6995d7fc67-zpdfm --tail=50
## to keep tailing 30 lines of the container's log
$ kubectl --kubeconfig=prod_cluster_config --namespace=env-prod logs scheduling-service-6995d7fc67-zpdfm --tail=30 -f
1. Run the proxy:
$ cd /c/tools/env-prod
$ ls -l
-rwxr-xr-x 1 John.Wang 1049089 85 May 14 14:45 prod.listAllPods.sh*
-rw-r--r-- 1 John.Wang 1049089 6146 Oct 4 2017 prod_cluster_config
$ kubectl --kubeconfig=prod_cluster_config --namespace=env-prod proxy
Starting to serve on 127.0.0.1:8001
2. Open the web console in your browser:
http://localhost:8001/ui
OR
http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
YOU MUST CHANGE "https" to "http" in "https:kubernetes-dashboard". And the final url is as follows:
http://localhost:8001/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/
select your namespace, like "env-pod"
3. How to restart a pod?
>> Just "delete" the current pod: k8s would start a new pod for it.
kubectl --kubeconfig=test_cluster_config --namespace=env-qa delete pod order-service-5fbb59878d-qqqs9
### how to tail container log with kubectl
command: kubectl --kubeconfig=prod_cluster_config --namespace=env-prod logs pod-name --tail=50 [-f]
$ cd /c/tools/env-prod/
## find the pod-name by listing all the pods
$ kubectl --kubeconfig=prod_cluster_config --namespace=env-prod get pods | grep scheduling
NAME READY STATUS RESTARTS AGE
scheduling-service-6995d7fc67-zpdfm 1/1 Running 0 9d
## to tail 50 lines of the container's log and stop
$ kubectl --kubeconfig=prod_cluster_config --namespace=env-prod logs scheduling-service-6995d7fc67-zpdfm --tail=50
## to keep tailing 30 lines of the container's log
$ kubectl --kubeconfig=prod_cluster_config --namespace=env-prod logs scheduling-service-6995d7fc67-zpdfm --tail=30 -f
发表评论
-
ActiveMQ and Spring JMS Framework Message Loss
2019-06-28 07:15 29Java Message Service (JMS) prov ... -
Call Stored Procedure with JPA 2.1
2018-06-27 10:57 616JPA 2.1 introduces APIs to call ... -
Send response and then process - async processing
2017-10-12 09:35 508If your request processing take ... -
java 8 time api test
2017-08-29 05:40 437public class ParseUtcDateTime ... -
Setup ApiKey in header with Swagger generated client code
2017-08-23 06:41 436@Value("${api.base.path} ... -
Simple tool to monitor jvm memory usage and garbage collection
2016-10-13 06:06 314JDK has built-in tool to moni ... -
Externalize Application Config properties with JBoss 7.1
2017-06-02 12:09 305If you have configuration pro ... -
JPA native query does not support setting list parameters
2014-03-27 06:45 969you might want to do the ... -
Owning Side and Inverse Side of JPA entity relationships
2013-09-10 07:08 757Entity relationships may be b ... -
avoid setParameter for "order by" in JPQL
2013-03-07 05:55 751you might want to create a JP ... -
JPA Path Expression, operator IN and Collection properties
2013-01-23 16:25 1340If we want to select the Orde ... -
与JEE6/EJB3.1相比, Spring framework 丧失了几乎所有的优势
2013-01-19 13:13 994The Spring framework was a ma ... -
Simple EasyMock tutorial
2012-12-20 11:57 621http://veerasundar.com/blog/20 ... -
Servlet 3.0 @WebFilter and @WebServlet
2012-12-04 07:09 2633Servlet 3.0 provides new annota ... -
Why JSF2 @ViewScoped not working?
2012-12-03 06:55 1342javax.faces.bean.ViewScoped sai ... -
When to configure an XA datasource?
2012-11-16 12:58 1224If you ever came across this wa ... -
java ee transaction and datasource concepts
2012-11-10 13:48 9841. What is a transaction? A tra ... -
pass params to primefaces confirmation dialog box
2012-09-28 19:30 1299<p:dataTable id="idStuD ... -
Handle Big Dataset with Real Pagination with Primefaces 3.3 LazyDataModel
2012-09-21 13:41 5583If you have millions of record ... -
why Oracle sequence not working with JPA entity ID?
2012-09-19 08:08 933Suppose you have an Oracle seq ...
相关推荐
kubernetes的k8s.gcr.io/kube-proxy:v1.17.3镜像包,版本为v1.17.3。文件是kube-proxy_v_1_17.3.tar
第一部分 环境初始化 1 第二部分 Master节点配置HA 5 第三部分 证书制作 8 第四部分 ETCD集群部署 14 第五部分 Master节点部署 16 第六部分 Node节点部署 ...k8s-worker2 10.3.8.105 flannel/docker/kube-proxy/kubelet
java websocket proxy k8s docker terminal 之所以有这个项目是因为有多个区域部署k8s集群, 每个集群里的容器都需要有终端访问。 应用程序都是运行在k8s里的, 采用sa认证的方式, k8s集群的api server外面并不能...
ROS透明代理(Web proxy)加快网页浏览速度详细版,包括WEB proxy的建立、安全设置及利用web proxy所进行上网管理行为的设定等。
k8s.gcr.io/kube-proxy v1.22.0 k8s.gcr.io/kube-controller-manager v1.22.0 k8s.gcr.io/kube-apiserver v1.22.0 calico/kube-controllers v3.22.5 calico/cni v3.22.5 calico/pod2daemon-flexvol v3.22.5 ...
k8s1.20镜像包,api.tar scheduler.tar proxy.tar controller.tar
k8s.gcr.io/kube-proxy
部署k8s1.28集群所需离线镜像包,已经为大家准备好了,大家有需要可以自行下载,下载后部署的方法,在主页k8s专栏的文章中有详细说明,如果大家有疑问可以查看文章,或者私信我,我会尽快回复,谢谢大家 registry....
ICS lab10 WebProxy 包含 proxy.c
k8s.gcr.io/kube-proxy k8s.gcr.io/kube-apiserver k8s.gcr.io/kube-controller-manager k8s.gcr.io/kube-scheduler k8s.gcr.io/pause k8s.gcr.io/coredns k8s.gcr.io/etcd
WinHTTP Web Proxy Auto-Discovery Service 服务处于 停止 状态还有,我的服务器没有使用WEB代理和防火墙客户端。
使用方法请关注blog: https://blog.csdn.net/wenwst 导入命令: #docker load < kube-scheduler.v1.12.2.tar # docker tag d6d57c76136c k8s.gcr.io/kube-scheduler:
k8s.gcr.io/kube-proxy:v1.21.9 k8s.gcr.io/pause:3.4.1 k8s.gcr.io/coredns/coredns:v1.8.0 k8s.gcr.io/etcd:3.4.13-0 rancher/mirrored-flannelcni-flannel:v0.16.1 rancher/mirrored-flannelcni-flannel-cni-...
认证代理 身份验证代理,用于向本身不支持此功能的应用程序添加SSO身份验证支持。 配置Google Project 首先,我们需要创建我们的Google Project并创建OAuth2凭据。 转到Google Cloud Platform ...
k8s V1.9.7docker的相关镜像,有etcd、flannel、k8s-dns、kube-apiserver、kube-proxy、kube-scheduler、kubernetes-dashboard等镜像.
Linux.Firewall.And.Proxy.Server.-.Howto
本文档采用k8s v1.10.0二进制的集群部署方式,主要更改 使用kube-router 代理kube-proxy,使用ingress-nginx做边缘负载,使用haproxy+heartbeat实现高可用 本文档持续更新,后续将继续深入了解prometheus,helm等组件...
This is used to set up a web proxy.Easy to use...
kubernetes的k8s.gcr.io/kube-scheduler:v1.17.3镜像包,版本为v1.17.3。文件是kube-scheduler:v1.17.3
K8S二进制安装--node节点部件kubelete和kube-proxy.txt