juju——版本

juju——版本

@Galgalesh;我正在尝试这些捆绑包(https://jujucharms.com/realtime-syslog-analytics/)来自 jujucharm.com 不是自定义的。我尝试在 AWS 上部署,但没有成功。

juju——版本

1.25.6-xenial-amd64

 root@ubuntu:~# juju-1 deploy realtime-syslog-analytics --constraints 'instance-type=t2.micro' ERROR cannot resolve charm URL "cs:trusty/realtime-syslog-analytics": charm not found

见附件在此处输入图片描述

答案1

这 ”juju 部署‘捆绑’“语法仅适用于 Juju 2.0,对于 Juju 1.25,部署包使用“juju quickstart‘捆绑’“。以下是在我的本地环境中使用 quickstart 部署捆绑包的情况。

#> juju quickstart realtime-syslog-analytics                                                                                                                      
juju quickstart v2.2.4
contents loaded for bundle realtime-syslog-analytics/bundle (services: 9)
reusing the already bootstrapped local environment
retrieving the environment status
connecting to wss://10.0.3.1:17070/environment/bd6ed64e-1f10-4911-88f4-bc682cc05ab0/api
environment type: local
bootstrap node series: xenial
charm URL: cs:trusty/juju-gui-130
service juju-gui already deployed
reusing unit juju-gui/0
juju-gui/0 is ready on machine 1
unit placed on 10.0.3.165
machine 1 is started
the Juju GUI is ready: retrieving service configuration

Juju GUI URL: https://10.0.3.165
username: admin
password: adm-098d7faa6a744fa1ab86bd23f4e3e852

connecting to the Juju GUI server
requesting a deployment of bundle realtime-syslog-analytics/bundle with the following services:
  flume-hdfs, flume-syslog, namenode, plugin, resourcemanager, rsyslog-forwarder, slave, spark, zeppelin
bundle deployment request accepted
use the GUI to check the bundle deployment progress
more details about this bundle can be found at
  https://jujucharms.com/realtime-syslog-analytics/bundle
opening the browser at
https://10.0.3.165/?authtoken=62249182ecb8485399bbff1e5663a07e
done!

Run "juju quickstart -e local" again if you want
to reopen and log in to the GUI browser later.
Run "juju quickstart -i" if you want to manage
or bootstrap your Juju environments using the
interactive session.
Run "juju destroy-environment local [-y]"
to destroy the environment you just bootstrapped.

这是一个简短的视频教程,介绍什么是快速启动以及如何使用它https://www.youtube.com/watch?v=LVknLr1spPo

在现有环境中部署捆绑包

使用标志来提供环境-e <environment-name>

juju-quickstart -e amazon realtime-syslog-analytic

或者使用 juju-gui,从 Juju GUI 中选择捆绑包并部署它。

相关内容