Skip to content

Commit

Permalink
Merge pull request rootsongjc#268 from johnson/master
Browse files Browse the repository at this point in the history
fix syntax highlighting
  • Loading branch information
rootsongjc authored Aug 15, 2018
2 parents 085d719 + ee423df commit 15eb4dd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions appendix/about-cka-candidate.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ kubectl get no −l name=hk8s−node−1 −−context=hk8s

该课程的课程大纲:

```text
```
Welcome & Introduction
Container Orchestration
Kubernetes
Expand All @@ -179,7 +179,7 @@ ps: 个人觉得这个课程可以不用学, 直接看文档就行了 。

该课程的课程大纲:

```text
```
Kubernetes Fundamentals
Chapter 1. Course Introduction
Chapter 2. Basics of Kubernetes
Expand Down
2 changes: 1 addition & 1 deletion guide/migrating-hadoop-yarn-to-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

Hadoop YARN 的 Dockerfile 参考如下配置。

```dockerfile
```docker
FROM my-docker-repo/jdk:7u80
# Add native libs
Expand Down
2 changes: 1 addition & 1 deletion practice/service-rolling-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func main() {

**创建Dockerfile**

```dockerfile
```docker
FROM alpine:3.5
MAINTAINER Jimmy Song<rootsongjc@gmail.com>
ADD hellov2 /
Expand Down
4 changes: 2 additions & 2 deletions usecases/envoy-front-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ networks:

其中 `front-envoy` 是前端(边缘)Envoy 服务,用来做反向代理,它使用的是 `Dockerfile-frontenvoy` 文件来构建镜像的,我们来看下该 `Dockerfile` 的内容。

```dockerfile
```docker
FROM envoyproxy/envoy:latest
RUN apt-get update && apt-get -q install -y \
Expand Down Expand Up @@ -188,7 +188,7 @@ example_front-envoy_1 /bin/sh -c /usr/local/bin/ ... Up 0.0.0.0:8000->80

```bash
$ curl -v localhost:8000/service/1
*
*
Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8000 (#0)
Expand Down

0 comments on commit 15eb4dd

Please sign in to comment.