Closed SidHarder closed 7 years ago
@SidHarder if I understood correctly, there's a sort of DSL to do testing on Kubernetes and I should use it and see if it is possible to deploy some test (ipfs-cluster test) on the kubernetes thing.
@hsanjuan I have been poking around a bit with Kubernetes, but its not clear to me if Kubernetes has a DSL. I see were a few folks have created there own. Have you found anything?
It's something like this @SidHarder : https://github.com/ipfs/kubernetes-ipfs/blob/master/tests/simple-add-and-cat.yml
@SidHarder:
Kubernetes has a deployment YAML-based "language". Take a look at https://github.com/ipfs/kubernetes-ipfs/blob/master/go-ipfs-deployment.yml, which creates a 2 container deployment of go-ipfs. You can instantiate this from kubectl create -f go-ipfs-deployment.yml
.
The test DSL is a result of the kubernetes-ipfs project between Victor and myself, and is custom. Its parsing is defined via the structs in https://github.com/ipfs/kubernetes-ipfs/blob/master/main.go.
I'm going to consider this done as I can run ipfs-cluster tests on kubernetes after making some changes to the DSL:
https://github.com/ipfs/kubernetes-ipfs/pull/15
I continue working on #9.
@hsanjuan I didn't quite understand what you intend to work on with respect to Kubernetes this week. Could help me understand better what you plan to do. I can then modify the issue as appropriate.