@ MichelDiz
@dmai
hi,
I tried it again,
kubectl delete pods,statefulsets,services,persistentvolumeclaims,persistentvolumes -l app=dgraph-zero
kubectl delete pods,statefulsets,services,persistentvolumeclaims,persistentvolumes -l app=dgraph-alpha
kubectl delete pods,replicasets,services,persistentvolumeclaims,persistentvolumes -l app=dgraph-ratel
copy from https://raw.githubusercontent.com/dgraph-io/dgraph/master/contrib/config/kubernetes/dgraph-ha.yaml, modify image to dgraph/dgraph:master
kubectl create dgraph_ha.ymal
and the Alpha prompt the same error message :
++ hostname -f
+ dgraph alpha --my=dgraph-alpha-2.dgraph-alpha.default.svc.cluster.local.:7080 --lru_mb 40960 --zero 10.68.72.53:5080
I0327 07:59:32.173539 1 init.go:88]
Dgraph version : master
Commit SHA-1 : b050d173
Commit timestamp : 2019-03-19 16:02:35 -0700
Branch : master
Go version : go1.11.5
For Dgraph official documentation, visit https://docs.dgraph.io.
For discussions about Dgraph , visit http://discuss.hypermode.com.
To say hi to the community , visit https://dgraph.slack.com.
Licensed variously under the Apache Public License 2.0 and Dgraph Community License.
Copyright 2015-2018 Dgraph Labs, Inc.
I0327 07:59:32.174597 1 server.go:126] Setting Badger table load option: mmap
I0327 07:59:32.174614 1 server.go:138] Setting Badger value log load option: mmap
I0327 07:59:32.174622 1 server.go:166] Opening write-ahead log BadgerDB with options: {Dir:w ValueDir:w SyncWrites:true TableLoadingMode:1 ValueLogLoadingMode:2 NumVersionsToKeep:1 MaxTableSize:67108864 LevelSizeMultiplier:10 MaxLevels:7 ValueThreshold:65500 NumMemtables:5 NumLevelZeroTables:5 NumLevelZeroTablesStall:10 LevelOneSize:268435456 ValueLogFileSize:1073741823 ValueLogMaxEntries:10000 NumCompactors:2 CompactL0OnClose:true managedTxns:false maxBatchCount:0 maxBatchSize:0 ReadOnly:false Truncate:true Logger:0x2055b20}
I0327 07:59:32.289587 1 node.go:83] All 1 tables opened in 1ms
I0327 07:59:32.290564 1 node.go:83] Replaying file id: 0 at offset: 3584
I0327 07:59:32.291365 1 node.go:83] Replay took: 779.49µs
I0327 07:59:32.292420 1 server.go:126] Setting Badger table load option: mmap
I0327 07:59:32.292440 1 server.go:138] Setting Badger value log load option: mmap
I0327 07:59:32.292449 1 server.go:180] Opening postings BadgerDB with options: {Dir:p ValueDir:p SyncWrites:true TableLoadingMode:2 ValueLogLoadingMode:2 NumVersionsToKeep:2147483647 MaxTableSize:67108864 LevelSizeMultiplier:10 MaxLevels:7 ValueThreshold:1024 NumMemtables:5 NumLevelZeroTables:5 NumLevelZeroTablesStall:10 LevelOneSize:268435456 ValueLogFileSize:1073741823 ValueLogMaxEntries:1000000 NumCompactors:2 CompactL0OnClose:true managedTxns:false maxBatchCount:0 maxBatchSize:0 ReadOnly:false Truncate:true Logger:0x2055b20}
I0327 07:59:32.361725 1 node.go:83] All 1 tables opened in 1ms
I0327 07:59:32.362366 1 node.go:83] Replaying file id: 0 at offset: 1092
I0327 07:59:32.363187 1 node.go:83] Replay took: 798.304µs
2019/03/27 07:59:32 dgraph-alpha-2.dgraph-alpha.default.svc.cluster.local.:7080 is not valid address
github.com/dgraph-io/dgraph/x.AssertTruef
/ext-go/1/src/github.com/dgraph-io/dgraph/x/error.go:88
github.com/dgraph-io/dgraph/worker.StartRaftNodes
/ext-go/1/src/github.com/dgraph-io/dgraph/worker/groups.go:80
github.com/dgraph-io/dgraph/dgraph/cmd/alpha.run.func5
/ext-go/1/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/run.go:570
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1333