Skip to content

Commit 5214b9f

Browse files
author
Matthew Fisher
committed
fix(registry): remove cache from install/start platform
For existing clusters, they'll have to run the following to disable the cache: $ deisctl stop cache $ deisctl uninstall cache $ deisctl restart registry@1
1 parent 661b816 commit 5214b9f

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

deisctl/cmd/cmd.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,17 +183,13 @@ func startDefaultServices(b backend.Backend, wg *sync.WaitGroup, outchan chan st
183183
b.Start([]string{"logspout"}, wg, outchan, errchan)
184184
wg.Wait()
185185

186-
// optimization: start all remaining services in the background
187-
// cache is a special case because it must start before registry
188-
b.Start([]string{"cache"}, &_wg, _outchan, _errchan)
189-
wg.Wait()
190186
b.Start([]string{
191187
"database", "registry@*", "controller", "builder",
192188
"publisher", "router@*"},
193189
&_wg, _outchan, _errchan)
194190

195191
outchan <- fmt.Sprintf("Control plane...")
196-
b.Start([]string{"cache", "database", "registry@*", "controller"}, wg, outchan, errchan)
192+
b.Start([]string{"database", "registry@*", "controller"}, wg, outchan, errchan)
197193
wg.Wait()
198194
b.Start([]string{"builder"}, wg, outchan, errchan)
199195
wg.Wait()
@@ -436,7 +432,7 @@ func installDefaultServices(b backend.Backend, wg *sync.WaitGroup, outchan chan
436432
wg.Wait()
437433

438434
outchan <- fmt.Sprintf("Control plane...")
439-
b.Create([]string{"cache", "database", "registry@1", "controller", "builder"}, wg, outchan, errchan)
435+
b.Create([]string{"database", "registry@1", "controller", "builder"}, wg, outchan, errchan)
440436
wg.Wait()
441437

442438
outchan <- fmt.Sprintf("Data plane...")

0 commit comments

Comments
 (0)