Managed Fusion Admin APIs
Migrate Fusion Objects
Export an app | Import an app | Export an object | Import an object | Add an object to an app | |
Fusion UI | App configuration | Launcher (entire app) App configuration (combine apps) | - | - | Object Explorer |
Objects API (endpoints) | GET from export endpoint | POST to import endpoint | GET from export endpoint | POST to import endpoint | - |
Fusion 5 Upgrades
Deployment type | Platform |
---|---|
Azure Kubernetes Service (AKS) | aks |
Amazon Elastic Kubernetes Service (EKS) | eks |
Google Kubernetes Engine (GKE) | gke |
<platform>_<cluster>_<release>_upgrade_fusion.sh
upgrade script file for editing.CHART_VERSION
to your target Fusion version, and save your changes.<platform>_<cluster>_<release>_upgrade_fusion.sh
script. The <release>
value is the same as your namespace, unless you overrode the default value using the -r
option.kubectl get pods
to see the changes applied to your cluster. It may take several minutes to perform the upgrade, as new Docker images are pulled from DockerHub. To see the versions of running pods, do:RollingUpdate
update policy:OnDelete
to avoid changing critical stateful pods in the Fusion deployment. To apply changes to Zookeeper after performing the upgrade (uncommon), you need to manually delete the pods. For example:updateStrategy
under the zookeeper
section in your "${MY_VALUES}"
file:setup_f5_<platform>.sh
script that matches your Kubernetes platform.
--upgrade
option.
--dry-run
option to the script.customize_fusion_values.sh
script. The upgrade script hard-codes the parameters and eases the need to remember which parameters to pass to the script. This is helpful when working with multiple K8s clusters. Make sure you check the script into version control alongside your custom values YAML files.Whenever you change the custom values YAML files for your cluster, you need to run the upgrade script to apply the changes. The script calls helm upgrade
with the correct parameters and --values
options.helm upgrade
without passing the custom values YAML files, the deployment will revert to using chart defaults, which you never want to do.kubeconfig
is pointing to the correct cluster and you’re using Heml v3. If not, the upgrade fails. Select the correct kubeconfig
before running the script.type
query string parameter; see the examples below.
Object type | Value |
---|---|
apps | app The deep parameter is not needed for this object type. In the case of apps, all linked objects are included by default. |
Appkit apps | appkit |
blob | blob |
collections (with their dependent objects) See below for collection-specific details. | collection |
data-model | data-model |
datasources | datasource |
experiment | experiment |
index pipelines | index-pipeline |
index profiles | index-profile |
job configurations | spark , type , or data-source |
link | link |
object group | group |
parsing configurations | parser |
query pipelines | query-pipeline |
query profiles | query-profile |
schedules for schedulable jobs (spark, type, or datasource) | job |
search cluster configurations | search-cluster |
subscription | subscription |
template | template |
zone | zone |
secret.dataSources.datasourceID.password
secret.queryPipelines.pipelineID.stages.active-directory-security-trimming.stageID.bindPassword
secret.
are ignored.Migrate Fusion Objects
Export an app | Import an app | Export an object | Import an object | Add an object to an app | |
Fusion UI | App configuration | Launcher (entire app) App configuration (combine apps) | - | - | Object Explorer |
Objects API (endpoints) | GET from export endpoint | POST to import endpoint | GET from export endpoint | POST to import endpoint | - |
importPolicy
parameter is required. It specifies what to do if any object in the import list already exists on the target system:
abort | If there are conflicts, then import nothing. |
merge | If there are conflicts, then skip the conflicting objects. |
overwrite | If there are conflicts, then overwrite or delete/create the conflicting objects on the target system. |
type
query string parameter. See Supported objects for a list of valid values.type.ids
parameter lets you list the IDs to match for the specified object type.type
and type.ids
parameters can be combined as needed.
deep="true"
query parameter in your request. See the example below.
searchClusterId
of each collection and verify that a cluster with this ID exists on the target system or in the import file (error).Validation completed with no errors | The validation method was called and no errors found, though there may be warnings. |
Validation found errors | The validation was called and errors found. Validation does not stop on the first error, so the complete list of errors is reported. |
Validation was not completed because of system error | The validation was interrupted by system error. |
Import was not performed because validation errors exist | The import method was called, but import didn’t start because of validation errors. |
Import was not performed because of input data error | The import method was called, but import didn’t start, because Managed Fusion could not find a substitution for one of the secret values in objects in import. |
Import was not completed because of system error | The validation found no errors and import started, but it was interrupted by system error. |
Import was completed | Validation found no errors and import finished successfully. |
password_file.json
must contain plaintext passwords.