This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Errors: | |
| Ark: <none> | |
| Cluster: <none> | |
| Namespaces: | |
| kube-system: error restoring /tmp/012125824/resources/pods/namespaces/kube-system/etcd-ip-10-0-23-157.us-west-2.compute.internal.json: Pod "etcd-ip-10-0-23-157.us-west-2.compute.internal" is invalid: metadata.annotations[kubernetes.io/config.mirror]: Invalid value: "7278f85057e8bf5cb81c9f96d3b25320": must set spec.nodeName if mirror pod annotation is set | |
| error restoring /tmp/012125824/resources/pods/namespaces/kube-system/kube-apiserver-ip-10-0-23-157.us-west-2.compute.internal.json: Pod "kube-apiserver-ip-10-0-23-157.us-west-2.compute.internal" is invalid: metadata.annotations[kubernetes.io/config.mirror]: Invalid value: "ea5e41ac89d52e3a9d87c161b1ecead8": must set spec.nodeName if mirror pod annotation is set | |
| error restoring /tmp/012125824/resources/pods/namespaces/kube-system/kube-controller-manager-ip-10-0-23-157.us-west-2.compute.internal.json: Pod "kube-controller-manager-ip-10-0-23-157.us-west-2.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kubectl delete namespace heptio-ark-server | |
| git checkout v0.8.0-rc.1 | |
| # Recreate the secret in our target namespace | |
| kubectl create secret generic cloud-credentials --namespace heptio-ark --from-file cloud=credentials-ark-gke | |
| # Create our prereqs in our new NS | |
| kubectl apply -f examples/common/00-prereqs.yaml | |
| kubectl apply -f examples/common/10-deployment.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| make[1]: Entering directory '/home/nrb/go/src/github.com/heptio/ark' | |
| Running tests: | |
| ? github.com/heptio/ark/cmd/ark [no test files] | |
| ? github.com/heptio/ark/pkg/apis/ark/v1 [no test files] | |
| ok github.com/heptio/ark/pkg/backup 0.172s | |
| ok github.com/heptio/ark/pkg/buildinfo 0.013s | |
| ok github.com/heptio/ark/pkg/client 0.225s | |
| ok github.com/heptio/ark/pkg/cloudprovider 0.312s | |
| ok github.com/heptio/ark/pkg/cloudprovider/aws 0.082s | |
| ok github.com/heptio/ark/pkg/cloudprovider/azure 0.166s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x1c in /home/nrb/go/src/github.com/heptio/ark (git) master | |
| % git status | |
| On branch master | |
| Your branch is up-to-date with 'origin/master'. | |
| Untracked files: | |
| (use "git add <file>..." to include in what will be committed) | |
| azuredeploy.parameters.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x1c in /home/nrb/go/src/github.com/heptio/ark (git) master | |
| % dep ensure | |
| ensure Solve(): No versions of k8s.io/kubernetes met constraints: | |
| v1.9.0: unable to update checked out version: : command failed: [git checkout 925c127ec6b946659ad0fd596fa959be43f0cc05]: exit status 1 | |
| v1.9.3: unable to update checked out version: : command failed: [git checkout d2835416544f298c919e2ead3be3d0864b52323b]: exit status 1 | |
| v1.9.2: unable to update checked out version: : command failed: [git checkout 5fa2db2bd46ac79e5e00a4e6ed24191080aa463b]: exit status 1 | |
| v1.9.1: unable to update checked out version: : command failed: [git checkout 3a1c9449a956b6026f075fa3134ff92f7d55f812]: exit status 1 | |
| v1.8.8: Could not introduce k8s.io/kubernetes@v1.8.8, as it is not allowed by constraint ~1.9.0 from project github.com/heptio/ark. | |
| v1.8.7: Could not introduce k8s.io/kubernetes@v1.8.7, as it is not allowed by constraint ~1.9.0 from project github.com/heptio/ark. | |
| v1.8.6: Could not introduc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x1c in /home/nrb/go/src/github.com/kubernetes (git) master | |
| % ag --go JSONPatch | |
| staging/src/k8s.io/apiserver/pkg/endpoints/installer.go:669: string(types.JSONPatchType), | |
| staging/src/k8s.io/apiserver/pkg/endpoints/installer.go:677: Consumes(string(types.JSONPatchType), string(types.MergePatchType), string(types.StrategicMergePatchType)). | |
| staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go:215: case types.JSONPatchType, types.MergePatchType: | |
| staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go:408: case types.JSONPatchType: | |
| staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go:297: for _, patchType := range []types.PatchType{types.JSONPatchType, types.MergePatchType, types.StrategicMergePatchType} { | |
| staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go:306: if patchType == types.JSONPatchType { | |
| staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go:201: string(types.JSONPatchType), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| &{map[secrets:[map[name:default-token-9m8sb]] apiVersion:v1 imagePullSecrets:[map[name:Bogus]] kind:ServiceAccount metadata:map[labels:map[ark-restore:nginx-20180306131733] name:default namespace:nginx-example]]} | |
| --- | |
| &{map[kind:ServiceAccount apiVersion:v1 metadata:map[name:default namespace:nginx-example selfLink:/api/v1/namespaces/nginx-example/serviceaccounts/default uid:af734f09-216a-11e8-b0cf-42010a960036 resourceVersion:7403 creationTimestamp:2018-03-06T18:17:52Z] secrets:[map[name:default-token-qwnr6]]]} | |
| -- patched -- | |
| map[metadata:map[labels:map[ark-restore:nginx-20180306131733]] secrets:[map[name:default-token-9m8sb]] imagePullSecrets:[map[name:Bogus]]] | |
| ---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" | |
| "k8s.io/apimachinery/pkg/util/strategicpatch" | |
| ) | |
| func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x1c in /home/nrb/go/src/github.com/heptio/ark (git) ncdc-remove-azure-location-requirement U | |
| % az ad sp create-for-rbac --name "heptio-ark" --role "Contributor" --query 'password' -o tsv | |
| Role assignment creation failed. | |
| role assignment response headers: {'Content-Length': '296', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'x-ms-failure-cause': 'gateway', 'X-Content-Type-Options': 'nosniff', 'x-ms-request-id': '591626cd-0aad-4b74-888b-5b61fac286ac', 'Expires': '-1', 'x-ms-correlation-request-id': '591626cd-0aad-4b74-888b-5b61fac286ac', 'Connection': 'close', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'Date': 'Fri, 02 Mar 2018 18:43:17 GMT', 'x-ms-routing-request-id': 'NORTHCENTRALUS:20180302T184317Z:591626cd-0aad-4b74-888b-5b61fac286ac', 'Content-Type': 'application/json; charset=utf-8'} | |
| The client 'nolan@heptio.com' with object id '82d2d30d-8918-42d9-8432-2bc3739b0d17' does not have authorization to perform action 'Microsoft.Authorization/roleAssignments/write' over scope '/s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x1c in /home/nrb/go/src/github.com/heptio/ark (git) ncdc-add-force-delete-backup U | |
| % k -n heptio-ark-server get all | |
| NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE | |
| deploy/ark 1 1 1 0 1m | |
| NAME DESIRED CURRENT READY AGE | |
| rs/ark-596d9885d4 1 1 0 1m | |
| NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE | |
| deploy/ark 1 1 1 0 1m |