Merge pull request #268 from johnson/master

fix syntax highlighting
pull/271/head
Jimmy Song 2018-08-15 11:58:01 +08:00 committed by GitHub
commit 15eb4dd032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -155,7 +155,7 @@ kubectl get no l name=hk8snode1 context=hk8s
该课程的课程大纲: 该课程的课程大纲:
```text ```
Welcome & Introduction Welcome & Introduction
Container Orchestration Container Orchestration
Kubernetes Kubernetes
@ -179,7 +179,7 @@ ps 个人觉得这个课程可以不用学, 直接看文档就行了 。
该课程的课程大纲: 该课程的课程大纲:
```text ```
Kubernetes Fundamentals Kubernetes Fundamentals
Chapter 1. Course Introduction Chapter 1. Course Introduction
Chapter 2. Basics of Kubernetes Chapter 2. Basics of Kubernetes

View File

@ -57,7 +57,7 @@
Hadoop YARN 的 Dockerfile 参考如下配置。 Hadoop YARN 的 Dockerfile 参考如下配置。
```dockerfile ```docker
FROM my-docker-repo/jdk:7u80 FROM my-docker-repo/jdk:7u80
# Add native libs # Add native libs

View File

@ -67,7 +67,7 @@ func main() {
**创建Dockerfile** **创建Dockerfile**
```dockerfile ```docker
FROM alpine:3.5 FROM alpine:3.5
MAINTAINER Jimmy Song<rootsongjc@gmail.com> MAINTAINER Jimmy Song<rootsongjc@gmail.com>
ADD hellov2 / ADD hellov2 /

View File

@ -92,7 +92,7 @@ networks:
其中 `front-envoy` 是前端边缘Envoy 服务,用来做反向代理,它使用的是 `Dockerfile-frontenvoy` 文件来构建镜像的,我们来看下该 `Dockerfile` 的内容。 其中 `front-envoy` 是前端边缘Envoy 服务,用来做反向代理,它使用的是 `Dockerfile-frontenvoy` 文件来构建镜像的,我们来看下该 `Dockerfile` 的内容。
```dockerfile ```docker
FROM envoyproxy/envoy:latest FROM envoyproxy/envoy:latest
RUN apt-get update && apt-get -q install -y \ RUN apt-get update && apt-get -q install -y \
@ -188,7 +188,7 @@ example_front-envoy_1 /bin/sh -c /usr/local/bin/ ... Up 0.0.0.0:8000->80
```bash ```bash
$ curl -v localhost:8000/service/1 $ curl -v localhost:8000/service/1
* *
Trying ::1... Trying ::1...
* TCP_NODELAY set * TCP_NODELAY set
* Connected to localhost (::1) port 8000 (#0) * Connected to localhost (::1) port 8000 (#0)