sct 0.1.19 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 886dba5184c321ede1c67d28d391bdea4c65c91d2039113c6efcd19271af52d5
|
|
4
|
+
data.tar.gz: 1a0d8b618938924eb2b5fb5bb2009e71cfdf066e42e6bc125845c9a272715e37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 999c86de5b963c310cd538bf216ff8a4efa60390674a579e8c62b5f8b5e3b366203e0970180ffca104803e381826261be7902b6bd881dcb38086def2b871f8b4
|
|
7
|
+
data.tar.gz: f0dcfa20601a483a703f0c9f40ea64ecfd12e68251d63bafd77f77fcdf6bee9c97f93d1fe66446ec0cd66624ff8e1fa3f80386a6fde0fabdda76bcba13baca11
|
|
Binary file
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
apiVersion: v1
|
|
2
|
+
data:
|
|
3
|
+
Corefile: |
|
|
4
|
+
.:53 {
|
|
5
|
+
errors
|
|
6
|
+
health {
|
|
7
|
+
lameduck 5s
|
|
8
|
+
}
|
|
9
|
+
ready
|
|
10
|
+
kubernetes cluster.local in-addr.arpa ip6.arpa {
|
|
11
|
+
pods insecure
|
|
12
|
+
fallthrough in-addr.arpa ip6.arpa
|
|
13
|
+
ttl 30
|
|
14
|
+
}
|
|
15
|
+
prometheus :9153
|
|
16
|
+
forward . 8.8.8.8
|
|
17
|
+
cache 30
|
|
18
|
+
loop
|
|
19
|
+
reload
|
|
20
|
+
loadbalance
|
|
21
|
+
}
|
|
22
|
+
Corefile-backup: |
|
|
23
|
+
.:53 {
|
|
24
|
+
errors
|
|
25
|
+
health {
|
|
26
|
+
lameduck 5s
|
|
27
|
+
}
|
|
28
|
+
ready
|
|
29
|
+
kubernetes cluster.local in-addr.arpa ip6.arpa {
|
|
30
|
+
pods insecure
|
|
31
|
+
fallthrough in-addr.arpa ip6.arpa
|
|
32
|
+
ttl 30
|
|
33
|
+
}
|
|
34
|
+
prometheus :9153
|
|
35
|
+
forward . /etc/resolv.conf
|
|
36
|
+
cache 30
|
|
37
|
+
loop
|
|
38
|
+
reload
|
|
39
|
+
loadbalance
|
|
40
|
+
}
|
|
41
|
+
kind: ConfigMap
|
|
42
|
+
metadata:
|
|
43
|
+
creationTimestamp: null
|
|
44
|
+
name: coredns
|
|
45
|
+
selfLink: /api/v1/namespaces/kube-system/configmaps/coredns
|
|
@@ -87,7 +87,7 @@ module Cluster
|
|
|
87
87
|
|
|
88
88
|
run_command "kubectl config use-context minikube"
|
|
89
89
|
|
|
90
|
-
run_command "kubectl replace -n kube-system -f #{File.expand_path('
|
|
90
|
+
run_command "kubectl replace -n kube-system -f #{File.expand_path('resources/corefile.yml', __dir__)}"
|
|
91
91
|
old_list = pods("kube-system").map { |pod| pod[:name] if pod[:name].start_with? "coredns" }.compact
|
|
92
92
|
run_command "kubectl delete pod -n kube-system #{old_list.join(" ")}" unless old_list.to_a.empty?
|
|
93
93
|
run_command "kubectl rollout status -n kube-system deployment/coredns"
|
data/sct/lib/sct/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sct
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Reshad Farid
|
|
@@ -166,6 +166,8 @@ files:
|
|
|
166
166
|
- cluster/lib/cluster.rb
|
|
167
167
|
- cluster/lib/cluster/commands_generator.rb
|
|
168
168
|
- cluster/lib/cluster/module.rb
|
|
169
|
+
- cluster/lib/cluster/resources/.DS_Store
|
|
170
|
+
- cluster/lib/cluster/resources/corefile.yml
|
|
169
171
|
- cluster/lib/cluster/runner.rb
|
|
170
172
|
- sct/lib/.DS_Store
|
|
171
173
|
- sct/lib/sct.rb
|