kind-ci / examples

Repository providing samples and testing for running sigs.k8s.io/kind on various CI services
https://sigs.k8s.io/kind
Apache License 2.0
178 stars 41 forks source link

Add support for TeamCity #14

Open pooventhan opened 4 years ago

pooventhan commented 4 years ago

Hi,

I've attempted to create kind cluster within team city agent (which runs on docker) with the following steps:

curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/v0.5.1/kind-$(uname)-amd64
chmod +x ./kind
mv ./kind /usr/local/bin/kind

Upon executing, kind create cluster --name=testcluster, it stucks at ensuring node image kindest/node

root@1a923b0e0774:/# kind create cluster --name=testcluster
Creating cluster "testcluster" ...
Ensuring node image (kindest/node:v1.15.3)

Also did further check by pulling kindest/node image, which gives below error:

root@1a923b0e0774:/# docker pull kindest/node:v1.15.3
v1.15.3: Pulling from kindest/node
09fe536fe3e4: Pull complete
4326ed393c12: Pull complete
73a8f76105d8: Extracting [==================================================>]     209B/209B
61a147631503: Download complete
ebf284b29a9b: Download complete
45edd976aead: Download complete
25a49a5ef18f: Download complete
ac9964da2ccf: Download complete
a9e631f193b5: Download complete
3d2abb89014a: Download complete
c4dcd9c54845: Download complete
1a7ee4f67711: Download complete
failed to register layer: Error processing tar file(exit status 1): failed to mknod("/var/lib/apt/lists/auxfiles", S_IFCHR, 0): operation not permitted

Appreciate if anyone can shed some light on this.

hoegaarden commented 4 years ago

Hello @pooventhan.

You might have more luck by creating an issue in kind's main repo directly or asking over at kind's slack channel -- there are maybe some people around who know stuff about team city.

pooventhan commented 4 years ago

Hello @hoegaarden

Thanks for the suggestion. I shall create it directly on main repo.