Skip to content

Commit

Permalink
configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
xqzhang2015 committed Dec 12, 2018
1 parent 3f1c534 commit 9930efc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions distributed_system/k8s_cluster_issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- [configmap](#configmap)
- [configmap key-value: value is not pretty\(multiple line\)](#configmap-key-value-value-is-not-prettymultiple-line)
- [toYaml for configmap: cann't use integer](#toyaml-for-configmap-cannt-use-integer)
- [Failing to communication between pods on same host, if kube-dns is also on this host](#failing-to-communication-between-pods-on-same-host-if-kube-dns-is-also-on-this-host)
- [Solution](#solution)
- [Checking system env](#checking-system-env)
Expand Down Expand Up @@ -39,6 +40,14 @@ metadata:
uid: 6010d450-fdbe-11e8-80e8-02b5f4111f4a
```

### toYaml for configmap: cann't use integer

using: `helm install --set-string key=num`, instead of `--set`, which is to force string values.

```
Error: release ltr-xqzhang-master-replayer failed: ConfigMap in version "v1" cannot be handled as a ConfigMap: v1.ConfigMap.ObjectMeta: v1.ObjectMeta.TypeMeta: Kind: Data: ReadString: expects " or n, but found 2, error found in #10 byte of ...|ficDate":2,"trafficH|..., bigger context ...|tMetadata":"","testMode":"default","trafficDate":2,"trafficHost":"xxx","trafficLoop":"no","tr|...
```

## Failing to communication between pods on same host, if kube-dns is also on this host

### Solution
Expand Down

0 comments on commit 9930efc

Please sign in to comment.