Reference: http://kubernetes.kansea.com/docs/hellonode/Now you should be able to access this via this address service : Http://EXTERNAL_IP: 8080 or runcurl http://EXTERNAL_IP:8080If you are accessing a new Web service through a browser or CURL, you should see some running logs:kubectl logs One of the great features of Kubernetes is that he can easily expand your application. Suppose you suddenly need to add your app; you just need to tell
command to querykubectl exec -it tools-dns-5665d49688-8jrnw /bin/bash
View a record (that is, address record IPv4)
Nslookup-query=a _http._tcp.curl.kube-system
View SRV records (a domain Name System (DNS) resource record that identifies the computer that hosts a particular service)
Nslookup-query=srv _http._tcp.curl.kube-system(Description: Service = 10 (priority) 100 (specific gravity) 80 (port) curl.kube-system.svc.cluster.local (host name).)
DescriptionWe use an example to demonstrate the basic configuration of the Kubernetes deployment application.This is a relatively simple example of a tomcat application plus a MySQL databaseRunning a simple webappp in Tomcat, this app accesses MySQL to get the data. and displayed on the page. For demonstration and simplification purposes, as long as the program is properly connected to the database, it auto
: containers: -name:kube-tomcat image:docker.io/chenyufeng/tomcat-centos imagepullpolicy:always ports: -containerport:8080 nbSp;protocol:tcp args: # uncomment the following line to manually specify Kubernetes API server Host NBSP;NBSP;NBSP;N bsp;# If not specified, Dashboard'll attempt to auto discover the API server and con Nect # to it. Uncomment only if the default is does not work. ---apiserver-host=http://47.97.90.38:8080## Please revise for
OneInstalling DockerYum install-y dockersystemctl enable Docker Systemctl start DockerIi.Installing kubeadm, kubelet and KubectlCat 1. Turn off SELinux2.Some users on Rhel/centos 7 has reported issues with traffic being routed incorrectly due to Iptables being Bypassed. You should ensurenet.bridge.bridge-nf-call-iptablesis set to 1 in yoursysctlconfig, e.g.Cat Reference https://kubernetes.io/docs/setup/independent/install-kubeadm/CentOS7 Deployment
A team retreat to develop an independent CS framework project, painstakingly came out the first version, the test passed, the online single server gray test through, very happy,So go process official release, according to the general project deployment of distributed multiple servers, the result of the problem, many visits almost all reported 400 errors ...The whole team, the weekend, the final positioning to the following features:-Get/post/put reque
Msdb.dbo.log_shipping_primary_secondaries table on the primary server SQLSVR1:Use Master;gosp_delete_log_shipping_primary_secondary db01,sqlsvr2,db01;2. On the secondary server SQLSVR2, run the following command to remove information about the secondary server SQLSVR2 and copy and restore jobs on the secondary server SQLSVR2:Use Master;gosp_delete_log_shipping_secondary_database db01;3. On the log shipping primary server, execute the following command to remove information about the log shippin
Solr+tomcat+zookeeper deploy Solrcloud. There were 1 machine systems in the cluster that were broken and the system was re-installed, and the collection shard file on the machine was missing. This machine reinstall the operating system after the re-deployment of SOLR, but the original collection shard is incomplete, decided to delete all shards, re-create collection, and then manually deleted the collection
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.