# juju add-model example
Added 'example' model on microk8s/localhost with credential 'microk8s' for user 'admin'
# juju deploy cs:~juju/redis-k8s-1
Located charm "cs:~juju/redis-k8s-1".
Deploying charm "cs:~juju/redis-k8s-1".
Querying the status, I see a hook failed:
# juju status
Model Controller Cloud/Region Version SLA Timestamp
example microk8s-localhost microk8s/localhost 2.8.1 unsupported 13:51:49Z
App Version Status Scale Charm Store Rev OS Address Notes
redis-k8s error 1 redis-k8s jujucharms 1 kubernetes hook failed: "install"
Unit Workload Agent Address Ports Message
redis-k8s/0* error idle hook failed: "install"
# juju deploy cs:~omnivector/bitcoind-k8s-5 --storage blockchain=10G
Located charm "cs:~omnivector/bitcoind-k8s-5".
Deploying charm "cs:~omnivector/bitcoind-k8s-5".
# juju status
Model Controller Cloud/Region Version SLA Timestamp
test1 microk8s-localhost microk8s/localhost 2.8.1 unsupported 16:21:07Z
App Version Status Scale Charm Store Rev OS Address Notes
bitcoind-k8s error 1 bitcoind-k8s jujucharms 5 kubernetes hook failed: "install"
Unit Workload Agent Address Ports Message
bitcoind-k8s/4* error idle hook failed: "install"
so I guess it’s looking more and more like a local issue than a charm issue, but it’s not clear to me what the issue might be - this is a fairly vanilla microk8s setup as per Using Juju with MicroK8s
It’s interesting that you’ve inferred official status. This is a demonstration charm, mostly written to test Juju/K8s integration.
@thumper, @wallyworld - I think this is more evidence that we should move these charms into another namespace. The ~juju account should be reserved for charms that are tightly related to Juju itself.
Absolutely not! It’s completely our fault for giving people the wrong impression.
It’s actually not really the charm’s fault either.
The operator image used by 2.8.1 bundles a new version of the charmhelpers library with incompatible behaviour. They’ve moved to Python 3.8, which has broken things underneath the charms.
I’m working to identify how to address this.
juju debug-log --include unit-<unit-id> is a good start. juju debug-hooks is not yet supported within Kubernetes, I believe.